﻿:root {
  --bg: #080808;
  --bg-soft: #121212;
  --card: #151515;
  --bg-card: #151515;
  --primary: #2563eb;
  --primary-soft: #3b82f6;
  --accent: #1d4ed8;
  --text: #f7f7f7;
  --muted: #bdbdbd;
  --border: #2b2b2b;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: radial-gradient(circle at 85% 10%, #232323, var(--bg) 40%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5.2rem 0;
}

.section-title {
  font-family: "Poppins", "Sora", sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.section-subtitle {
  color: var(--muted);
  margin-top: 0;
  max-width: 760px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-soft);
  font-size: 0.85rem;
  background: rgba(37, 99, 235, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 8, 0.9);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Poppins", "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.4px;
}

.brand img {
  width: 168px;
  height: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #e7e7e7;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.78rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #111;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.34);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 30%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(25deg);
  animation: shimmer 3.6s linear infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.42);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  padding: 6.2rem 0 4.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-family: "Poppins", "Sora", sans-serif;
  line-height: 1.12;
  font-size: clamp(2rem, 4.6vw, 4.15rem);
  margin: 1rem 0;
}

.hero p {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-card {
  background: linear-gradient(165deg, #141414, #0d0d0d);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  animation: floatCard 5.5s ease-in-out infinite;
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-checklist li {
  margin-bottom: 0.55rem;
  color: #ececec;
}

.hero-checklist li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 0.55rem;
}

.stat-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.stat h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.6rem;
}

.stat p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
}

.quote-card p {
  margin-top: 0;
}

.quote-card small {
  color: var(--muted);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #4d4d4d;
}

.card h3 {
  margin-top: 0;
  font-family: "Poppins", "Sora", sans-serif;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.pricing-card {
  position: relative;
  background: linear-gradient(160deg, #141414, #101010);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.pricing-card.recommended {
  border-color: var(--primary);
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.8rem 0;
}

.small {
  margin: 0.2rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-card ul,
.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card li,
.list-clean li {
  margin-bottom: 0.6rem;
  color: #e6e6e6;
}

.pricing-card li::before,
.list-clean li::before {
  content: "•";
  margin-right: 0.5rem;
  color: var(--primary);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-item {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
}

form {
  display: grid;
  gap: 0.8rem;
}

label {
  font-size: 0.87rem;
  color: #d8d8d8;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0e0e0e;
  color: var(--text);
  padding: 0.74rem 0.8rem;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  margin: 0;
  min-height: 1.1rem;
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.hidden {
  display: none !important;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0.3rem;
  font-size: 0.9rem;
}

.status-pill {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  display: inline-block;
}

.status-pill.in-progress {
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary);
}

.status-pill.review {
  background: rgba(0, 229, 255, 0.12);
  color: #6ee5ff;
}

.status-pill.done {
  background: rgba(40, 209, 124, 0.14);
  color: #7af0b1;
}

.cta {
  text-align: center;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #151515, #0f0f0f);
  border-radius: 18px;
  padding: 2.5rem 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.step {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #101010;
}

.step span {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 208, 0, 0.16);
  color: var(--primary);
  text-align: center;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.faq-wrap {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #101010;
  padding: 0.85rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #efefef;
}

.faq-item p {
  margin: 0.7rem 0 0.1rem;
  color: var(--muted);
}

.important-notice {
  border: 1px solid rgba(255, 208, 0, 0.45);
  background: linear-gradient(160deg, rgba(255, 208, 0, 0.09), rgba(255, 208, 0, 0.03));
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  animation: pulseGlow 3.2s ease-in-out infinite;
}

.important-notice h3 {
  margin: 0 0 0.45rem;
  font-family: "Poppins", "Sora", sans-serif;
}

.important-notice p {
  margin: 0;
  color: #ececec;
}

.review-form-wrap {
  margin-top: 1rem;
}

.reviews-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.review-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #101010;
  padding: 0.85rem 1rem;
}

.review-item h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.review-item p {
  margin: 0;
  color: #e8e8e8;
}

.review-item small {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.rating-stars {
  display: inline-flex;
  gap: 0.25rem;
}

.star-btn {
  border: 1px solid var(--border);
  background: #111;
  color: #777;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.star-btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.star-btn.active {
  color: var(--primary);
  border-color: var(--primary);
}

.rating-summary {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.review-stars {
  margin: 0.2rem 0 0.45rem;
  color: var(--primary);
  letter-spacing: 1px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.modal-box {
  width: min(560px, 96%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  background: #131313;
  box-shadow: var(--shadow);
}

.modal-box h3 {
  margin-top: 0;
  font-family: "Poppins", "Sora", sans-serif;
}

.ai-chat-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  min-width: 120px;
  height: 48px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 0, 0.55);
  background: linear-gradient(145deg, #2563eb, #ffb300);
  color: #111;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2100;
}

.ai-chat-panel {
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: min(360px, calc(100vw - 24px));
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #111;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 2100;
}

.ai-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.ai-chat-header h4 {
  margin: 0;
  font-size: 0.94rem;
}

.ai-chat-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.2rem 0.42rem;
}

.ai-chat-messages {
  min-height: 220px;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.ai-bubble {
  padding: 0.55rem 0.68rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.ai-bubble.user {
  margin-left: auto;
  background: #232323;
  border: 1px solid #343434;
}

.ai-bubble.assistant {
  margin-right: auto;
  background: rgba(255, 208, 0, 0.09);
  border: 1px solid rgba(255, 208, 0, 0.3);
}

.ai-chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  border-top: 1px solid var(--border);
}

.ai-chat-form input {
  flex: 1;
  min-width: 0;
}

.ai-typing {
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
}

.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  animation: aiDot 0.9s infinite ease-in-out;
}

.ai-typing span:nth-child(2) {
  animation-delay: 0.1s;
}

.ai-typing span:nth-child(3) {
  animation-delay: 0.2s;
}

.ai-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 0.7rem 0.2rem;
  border-top: 1px solid var(--border);
}

.ai-chip {
  border: 1px solid var(--border);
  background: #171717;
  color: #ebebeb;
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.ai-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.ai-support-row {
  padding: 0.4rem 0.7rem 0.7rem;
}

.ai-support-btn {
  width: 100%;
  border: 1px solid rgba(255, 208, 0, 0.45);
  background: rgba(255, 208, 0, 0.1);
  color: #f6e8a8;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 0.82rem;
}

.ai-support-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  color: #c8c8c8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.55s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

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

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 208, 0, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 208, 0, 0.2);
  }
}

@keyframes shimmer {
  0% {
    left: -40%;
  }
  100% {
    left: 135%;
  }
}

@keyframes aiDot {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .testimonials-grid,
  .pricing-grid,
  .trust-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    right: 4%;
    top: 76px;
    width: min(280px, 92%);
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .card-grid,
  .testimonials-grid,
  .pricing-grid,
  .trust-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 145px;
  }
}
/* ============================================================
   PROFESSIONAL THEME — Dark Blue, Black, White only
   No yellow, no light blue, no gradients. Single source of truth.
   ============================================================ */

:root {
  /* Surfaces (black + dark navy only) */
  --bg: #02040a;
  --bg-soft: #050814;
  --card: #080d1f;
  --bg-card: #080d1f;
  --card-2: #0b132b;
  --surface-elevated: #0f1a38;

  /* Borders */
  --border: #15203c;
  --border-soft: #0e162b;
  --border-strong: #1e2c52;

  /* Text */
  --text: #e2e8f0;
  --muted: #94a3b8;
  --subtle: #64748b;

  /* Single accent (true dark blue) */
  --primary: #2563eb;
  --primary-hover: #3b82f6;
  --primary-soft: #1e3a8a;
  --primary-bg: rgba(37, 99, 235, 0.15);
  --primary-border: rgba(37, 99, 235, 0.4);

  /* Status (kept neutral) */
  --success: #16a34a;
  --danger: #dc2626;

  --ring: 0 0 0 3px rgba(37, 99, 235, 0.3);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 4px 15px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.2);
}

/* --- Base canvas --- */
body {
  background: var(--bg) !important;
  color: var(--text) !important;
  animation: none !important;
}

body::before,
body::after {
  display: none !important;
}

main {
  animation: none !important;
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* --- Header / Nav --- */
.site-header,
.site-header.scrolled {
  background: rgba(2, 4, 10, 0.85) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
  backdrop-filter: blur(12px) !important;
}

.main-nav a,
.faq-item summary,
.hero p,
.card p,
.section-subtitle,
.small,
.review-item p,
.spring-sale-sub,
.spring-sale-end,
.modal-end-note,
.rating-summary,
.form-status,
.countdown-lbl,
label,
.addon-card > p,
.hero-card-hint,
.ai-chat-status,
.modal-hero p {
  color: var(--muted) !important;
}

.main-nav a {
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff !important;
  background: var(--primary-bg) !important;
}

.main-nav a::after,
.hero h1::after {
  display: none !important;
}

/* --- Surfaces --- */
.panel,
.card,
.pricing-card,
.hero-card,
.quote-card,
.faq-item,
.review-item,
.step,
.modal-box,
.ai-chat-panel,
.countdown,
.modal-countdown,
.countdown-cell,
.stat,
.trust-item,
.addon-card {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
  backdrop-filter: blur(10px) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.card:hover,
.pricing-card:hover,
.faq-item:hover,
.review-item:hover,
.step:hover,
.trust-item:hover,
.addon-card:hover,
.stat:hover,
.quote-card:hover {
  border-color: var(--primary-border) !important;
  background: var(--card-2) !important;
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow) !important;
}

.card::after,
.hero-card::before,
.addon-card::after,
.modal-box::before,
.spring-sale-glow,
.important-notice::before,
.btn-primary::after {
  display: none !important;
}

/* --- Headings (no gradient text) --- */
.section-title,
.hero h1,
.price,
.spring-sale-title,
.countdown-num,
.addon-price,
.pricing-card .price-new,
.stat h3,
.modal-box h3,
.hero-card h3,
.card h3,
.panel h3,
.pricing-card h3,
.addon-card h3,
.review-item h4 {
  background: none !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  letter-spacing: -0.02em;
}

.price-old {
  color: var(--subtle) !important;
  -webkit-text-fill-color: var(--subtle) !important;
  text-decoration-color: var(--subtle) !important;
}

/* --- Buttons --- */
.btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  transition: all 0.2s ease !important;
}

.btn-primary,
.btn-primary::before {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--primary-border) !important;
  box-shadow: var(--shadow-soft) !important;
  animation: none !important;
}

.btn-primary:hover {
  background: var(--primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-glow) !important;
}

.btn-outline {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--border-strong) !important;
}

.btn-outline:hover {
  background: var(--primary-bg) !important;
  color: #ffffff !important;
  border-color: var(--primary-border) !important;
  transform: translateY(-1px) !important;
}

/* --- Forms --- */
input,
textarea,
select {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2) !important;
  border-radius: 6px !important;
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--border-strong) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-border) !important;
  background: var(--bg-soft) !important;
  box-shadow: var(--ring) !important;
  outline: none !important;
}

/* --- Pills, badges, chips --- */
.badge,
.status-pill,
.vision-addon-chip,
.badge.badge-sale,
.spring-sale-tag,
.sale-flag,
.addon-flag,
.pricing-card.recommended::before,
.sale-announce {
  background: var(--primary-bg) !important;
  color: #eff6ff !important;
  border: 1px solid var(--primary-border) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  background-size: auto !important;
  border-radius: 9999px !important;
}

.badge::before,
.status-pill::before,
.vision-addon-chip::before {
  background: #ffffff !important;
  box-shadow: none !important;
  animation: none !important;
}

/* --- Notices and sale boxes --- */
.important-notice {
  background: var(--card) !important;
  border: 1px solid var(--primary-border) !important;
  animation: none !important;
  border-radius: 12px !important;
}

.spring-sale {
  background: var(--card) !important;
  border: 1px solid var(--primary-border) !important;
  box-shadow: var(--shadow) !important;
}

.sale-announce {
  border-bottom: 1px solid var(--border) !important;
}

.sale-announce-text,
.sale-announce-text strong,
.sale-announce-cta {
  color: #ffffff !important;
  background: transparent !important;
}

.sale-announce-cta {
  background: rgba(37, 99, 235, 0.2) !important;
  border: 1px solid var(--primary-border) !important;
  border-radius: 6px !important;
}

.sale-announce-close {
  background: transparent !important;
  color: var(--muted) !important;
}

/* --- Pricing recommended state --- */
.pricing-card.recommended {
  border-color: var(--primary-border) !important;
  box-shadow: var(--shadow-glow) !important;
  transform: scale(1.02) !important;
}
.pricing-card.recommended:hover {
  transform: scale(1.02) translateY(-3px) !important;
}

.pricing-card li::before,
.list-clean li::before,
.addon-card li::before {
  background: var(--primary) !important;
  box-shadow: none !important;
}

.hero-checklist li::before {
  background: var(--primary-bg) !important;
  color: #60a5fa !important;
  box-shadow: none !important;
}

.step span {
  background: var(--primary-bg) !important;
  color: #60a5fa !important;
  border: 1px solid var(--primary-border) !important;
}

.addon-icon {
  background: var(--primary-bg) !important;
  border: 1px solid var(--primary-border) !important;
  color: #60a5fa !important;
}

/* --- FAQ --- */
.faq-item summary {
  color: #f8fafc !important;
  font-weight: 500 !important;
}

.faq-item summary::after {
  color: #94a3b8 !important;
}

/* --- Reviews / stars --- */
.star-btn {
  background: var(--bg-soft) !important;
  color: var(--subtle) !important;
  border: 1px solid var(--border) !important;
}

.star-btn:hover,
.star-btn.active {
  color: #ffffff !important;
  border-color: var(--primary-border) !important;
  background: var(--primary-bg) !important;
}

.review-stars {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* --- Status pills --- */
.status-pill.in-progress,
.status-pill.review,
.status-pill.done {
  background: var(--primary-bg) !important;
  color: #eff6ff !important;
  border: 1px solid var(--primary-border) !important;
}

/* --- Modal --- */
.modal-overlay {
  background: rgba(2, 4, 10, 0.85) !important;
  backdrop-filter: blur(8px) !important;
}

.modal-logo-ring {
  background: var(--primary) !important;
  box-shadow: none !important;
  animation: none !important;
}

.modal-close,
.menu-toggle,
.ai-chat-close {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
}

.modal-close:hover,
.menu-toggle:hover,
.ai-chat-close:hover {
  border-color: var(--primary-border) !important;
  color: #ffffff !important;
  background: var(--primary-bg) !important;
}

/* --- AI chat --- */
.ai-chat-launcher {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--primary-border) !important;
  box-shadow: var(--shadow) !important;
  animation: none !important;
}

.ai-chat-launcher:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-glow) !important;
}

.ai-launcher-avatar,
.ai-chat-avatar,
.ai-msg-avatar {
  background: #ffffff !important;
  border: 1px solid var(--primary-border) !important;
  box-shadow: none !important;
}

.ai-launcher-dot,
.ai-chat-status-dot {
  background: var(--primary) !important;
  box-shadow: none !important;
  animation: none !important;
}

.ai-chat-header {
  background: var(--card-2) !important;
  border-bottom: 1px solid var(--border) !important;
}

.ai-bubble.user,
.ai-bubble.assistant {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.ai-bubble.assistant {
  background: var(--card-2) !important;
  border-color: var(--primary-border) !important;
}

.ai-chip {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 9999px !important;
}

.ai-chip:hover {
  border-color: var(--primary-border) !important;
  color: #ffffff !important;
  background: var(--primary-bg) !important;
}

.ai-support-btn {
  background: var(--primary-bg) !important;
  color: #ffffff !important;
  border: 1px solid var(--primary-border) !important;
}

.ai-support-btn:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  color: #ffffff !important;
}

.ai-typing span {
  background: #ffffff !important;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--muted) !important;
}

/* --- Kill remaining glow / pulse animations for a calmer pro look --- */
.important-notice,
.modal-logo-ring,
.badge,
.badge::before,
.spring-sale-glow,
.ai-launcher-dot,
.ai-chat-status-dot,
.btn-primary::after {
  animation: none !important;
}

/* Vision addon chip alignment */
.vision-addon-chip-remove {
  background: rgba(220, 38, 38, 0.2) !important;
  color: #fca5a5 !important;
}

.vision-addon-chip-remove:hover {
  background: var(--danger) !important;
  color: #ffffff !important;
}

/* --- UI polish pass: flip cards, packages, spring sale, chat --- */
.hero-card-flip {
  perspective: 1200px;
  cursor: pointer;
  user-select: none;
}

/* Grid-stack pattern: both faces live in the same grid cell so they
   overlap visually but BOTH participate in sizing the card. This means
   the card automatically grows to fit whichever face has more content,
   so nothing overflows past the card's border when you flip it. */
.hero-card-inner {
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
  display: grid;
  grid-template-columns: 1fr;
}

.hero-card-flip.is-flipped .hero-card-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.hero-card-face {
  grid-area: 1 / 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  /* Mobile/Safari fallback: backface-visibility doesn't propagate through
     children that create their own paint layers (e.g. .stat with its own
     background + backdrop-filter). Hide the inactive face with opacity at
     the exact midpoint of the flip (0.275s = halfway through 0.55s). The
     swap is invisible because at 90deg the face is edge-on anyway. */
  transition: opacity 0s linear 0.275s;
}

.hero-card-back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.hero-card-flip:not(.is-flipped) .hero-card-back,
.hero-card-flip.is-flipped .hero-card-front {
  opacity: 0;
  pointer-events: none;
}

.hero-card-note {
  margin-top: auto;
  color: var(--muted);
}

.hero-card-hint {
  margin-top: 0.4rem;
  font-size: 0.86rem;
}

.pricing-grid {
  margin-top: 1.4rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-card ul {
  margin-bottom: 0.6rem;
  flex-grow: 1;
}

.pricing-card .btn {
  margin-top: auto;
}

.spring-sale {
  border-radius: 18px !important;
  padding: 1.4rem 1.2rem !important;
  margin-bottom: 2rem;
}

.spring-sale-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.spring-sale-title {
  margin: 0.7rem 0 0.4rem;
}

.spring-sale-sub {
  margin: 0 auto 1rem;
  max-width: 760px;
}

.countdown {
  justify-content: center;
  gap: 0.6rem;
}

.countdown-cell {
  min-width: 74px;
  border-radius: 12px;
}

.sale-flag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.modal-box-sale {
  max-width: 620px;
}

.modal-hero {
  text-align: center;
}

.modal-logo-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 0.9rem;
}

.modal-logo-ring img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.modal-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ai-chat-panel {
  width: min(390px, calc(100vw - 24px)) !important;
  max-height: min(78vh, 700px);
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
}

.ai-chat-messages {
  min-height: 190px;
}

@media (max-width: 760px) {
  .sale-flag {
    position: static;
    align-self: flex-start;
    margin-bottom: 0.15rem;
  }
}

/* ============================================================
   REDESIGN: AI Chat, Spring Sale Popup, Packages, Countdown
   This block is the source of truth for these components.
   ============================================================ */

/* ---------- AI CHAT LAUNCHER (floating button) ---------- */
.ai-chat-launcher {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  width: auto !important;
  min-width: 0 !important;
  height: 56px !important;
  padding: 0 1.1rem 0 0.6rem !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  background: linear-gradient(135deg, #1e40af, #2563eb) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 30px -10px rgba(37, 99, 235, 0.6),
              0 6px 14px -4px rgba(0, 0, 0, 0.55) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.2px;
  cursor: pointer;
  z-index: 2100 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.ai-chat-launcher:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
  box-shadow: 0 18px 38px -10px rgba(37, 99, 235, 0.7),
              0 8px 18px -4px rgba(0, 0, 0, 0.6) !important;
}

.ai-launcher-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-launcher-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.ai-launcher-label {
  white-space: nowrap;
}

.ai-launcher-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(59, 130, 246, 0.5);
  pointer-events: none;
  animation: aiLauncherPulse 2.6s ease-out infinite;
}

@keyframes aiLauncherPulse {
  0%   { transform: scale(0.96); opacity: 0.8; }
  70%  { transform: scale(1.18); opacity: 0;   }
  100% { transform: scale(1.18); opacity: 0;   }
}

@media (prefers-reduced-motion: reduce) {
  .ai-launcher-pulse { animation: none !important; }
}

/* ---------- AI CHAT PANEL ---------- */
.ai-chat-panel {
  position: fixed !important;
  right: 22px !important;
  bottom: 92px !important;
  width: min(380px, calc(100vw - 24px)) !important;
  max-height: min(78vh, 640px) !important;
  background: #0a1126 !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
  overflow: hidden !important;
  z-index: 2100 !important;
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  transform-origin: bottom right;
  animation: aiPanelIn 0.22s ease-out;
}

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

.ai-chat-panel.hidden {
  display: none !important;
}

.ai-chat-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.85rem 0.95rem !important;
  background: linear-gradient(180deg, #0e1a3a, #0a1126) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.ai-chat-identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.ai-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border: 1px solid rgba(37, 99, 235, 0.5) !important;
  flex-shrink: 0;
}

.ai-chat-avatar img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.ai-chat-titles h4 {
  margin: 0 !important;
  font-size: 0.95rem !important;
  color: #ffffff !important;
  line-height: 1.2;
  font-weight: 600;
}

.ai-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2px;
  font-size: 0.78rem !important;
  color: #94a3b8 !important;
}

.ai-chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e !important;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6) !important;
  animation: aiStatusBlink 2.4s ease-in-out infinite;
}

@keyframes aiStatusBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.ai-chat-close {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  cursor: pointer;
  flex-shrink: 0;
}

.ai-chat-close:hover {
  background: rgba(37, 99, 235, 0.18) !important;
  color: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.5) !important;
}

.ai-chat-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.95rem !important;
  display: flex !important;
  flex-direction: column;
  gap: 0.55rem !important;
  min-height: 220px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.4) transparent;
}

.ai-chat-messages::-webkit-scrollbar { width: 6px; }
.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.35);
  border-radius: 999px;
}

.ai-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  max-width: 100%;
}

.ai-row.assistant { justify-content: flex-start; }
.ai-row.user      { justify-content: flex-end; }

.ai-msg-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(37, 99, 235, 0.45) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ai-msg-avatar img { width: 18px; height: 18px; object-fit: contain; }

.ai-bubble {
  padding: 0.6rem 0.78rem !important;
  border-radius: 14px !important;
  font-size: 0.9rem !important;
  line-height: 1.45;
  max-width: 78%;
  word-wrap: break-word;
}

.ai-bubble.assistant {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
  border-bottom-left-radius: 4px !important;
}

.ai-bubble.user {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom-right-radius: 4px !important;
  margin-left: auto;
}

.ai-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 2px 0;
}
.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #93c5fd !important;
  animation: aiDotBounce 1s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.12s; }
.ai-typing span:nth-child(3) { animation-delay: 0.24s; }

@keyframes aiDotBounce {
  0%, 80%, 100% { transform: translateY(0);   opacity: 0.5; }
  40%           { transform: translateY(-3px); opacity: 1;  }
}

/* Quick questions */
.ai-quick-questions {
  padding: 0.55rem 0.95rem 0.7rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.ai-quick-label {
  display: block;
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b !important;
  margin-bottom: 0.45rem;
}

.ai-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ai-chip {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  padding: 0.34rem 0.7rem !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ai-chip:hover {
  background: rgba(37, 99, 235, 0.18) !important;
  color: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  transform: translateY(-1px);
}

/* Footer (input + support) */
.ai-chat-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #080d1f;
  padding: 0.7rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ai-chat-form {
  display: flex !important;
  gap: 0.5rem !important;
  padding: 0 !important;
  border: none !important;
  align-items: stretch;
}

.ai-chat-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  padding: 0.58rem 0.95rem !important;
  color: #e2e8f0 !important;
  font-size: 0.9rem !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ai-chat-form input::placeholder { color: #64748b; }

.ai-chat-form input:focus {
  outline: none !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  background: rgba(37, 99, 235, 0.08) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}

.ai-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.18s ease;
}

.ai-send-btn:hover {
  background: #1d4ed8 !important;
  transform: translateY(-1px);
}

.ai-support-row { display: none; }

.ai-support-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  background: rgba(37, 99, 235, 0.1) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(37, 99, 235, 0.32) !important;
  border-radius: 10px !important;
  padding: 0.55rem 0.7rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ai-support-btn:hover {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.6) !important;
}

.ai-support-btn svg { color: currentColor; }

/* ---------- SPRING SALE POPUP (redesigned) ---------- */
.sale-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  background: radial-gradient(ellipse at center, rgba(8, 13, 31, 0.85), rgba(2, 4, 10, 0.96));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: saleOverlayIn 0.25s ease-out;
}

@keyframes saleOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.sale-modal-overlay.is-closing { animation: saleOverlayOut 0.22s ease-in forwards; }
@keyframes saleOverlayOut {
  to { opacity: 0; }
}

.sale-modal-card {
  position: relative;
  width: min(520px, 100%);
  background: linear-gradient(180deg, #0d1530, #080d1f);
  border: 1px solid rgba(37, 99, 235, 0.32);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(255, 255, 255, 0.04) inset,
              0 0 60px -10px rgba(37, 99, 235, 0.35);
  animation: saleCardIn 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes saleCardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.sale-modal-overlay.is-closing .sale-modal-card {
  animation: saleCardOut 0.2s ease-in forwards;
}
@keyframes saleCardOut {
  to { opacity: 0; transform: translateY(8px) scale(0.97); }
}

.sale-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  z-index: 2;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.sale-modal-close:hover {
  background: rgba(37, 99, 235, 0.2);
  color: #ffffff;
  border-color: rgba(37, 99, 235, 0.55);
}

.sale-modal-banner {
  position: relative;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, #1e3a8a, #2563eb, #1e3a8a);
  background-size: 200% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: saleBannerShine 6s linear infinite;
}

@keyframes saleBannerShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.sale-modal-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: salePulse 1.6s ease-out infinite;
}

@keyframes salePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.sale-modal-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.sale-modal-content {
  padding: 1.6rem 1.4rem 1.3rem;
  text-align: center;
}

.sale-modal-title {
  margin: 0 0 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.sale-modal-discount {
  font-family: "Poppins", "Sora", sans-serif;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #93c5fd, #ffffff 50%, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 24px rgba(96, 165, 250, 0.25);
}

.sale-modal-sub {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.sale-modal-desc {
  margin: 0 auto 1.1rem;
  max-width: 400px;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.55;
}

.sale-modal-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1.1rem;
}

.sale-cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.sale-cd-num {
  font-family: "Poppins", "Sora", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sale-cd-lbl {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-top: 4px;
}

.sale-cd-sep {
  font-size: 1.4rem;
  color: rgba(148, 163, 184, 0.45);
  font-weight: 700;
  margin-top: -8px;
}

.sale-modal-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.sale-modal-cta {
  padding: 0.78rem 1.4rem !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #1e40af, #2563eb) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.55) !important;
}

.sale-modal-cta:hover {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 18px 36px -10px rgba(37, 99, 235, 0.7) !important;
}

.sale-modal-ghost {
  background: transparent;
  color: #94a3b8;
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

.sale-modal-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.sale-modal-end {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .sale-modal-content { padding: 1.2rem 1rem 1.1rem; }
  .sale-modal-countdown { padding: 0.55rem 0.5rem; gap: 0.25rem; }
  .sale-cd-cell { min-width: 42px; }
  .sale-cd-num  { font-size: 1.45rem; }
  .sale-cd-sep  { font-size: 1.15rem; }
}

/* ---------- PACKAGES PAGE: cleaner layout ---------- */
main.section .container > .badge,
main.section .container > .section-title,
main.section .container > .section-subtitle {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

main.section .container > .badge {
  width: max-content;
  margin-bottom: 0.85rem;
}

main.section .container > .section-title {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

main.section .container > .section-subtitle {
  max-width: 720px;
  margin-bottom: 0.45rem;
}

.pricing-grid {
  margin-top: 2.2rem !important;
  gap: 1.15rem !important;
}

.pricing-card {
  position: relative;
  padding: 1.6rem 1.4rem !important;
  border-radius: 18px !important;
  display: flex !important;
  flex-direction: column;
  gap: 0.6rem !important;
}

.pricing-card h3 {
  margin: 0 0 0.2rem !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
}

.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0.25rem 0 0.4rem !important;
}

.pricing-card .price-old {
  font-size: 1.05rem !important;
  font-weight: 500 !important;
}

.pricing-card .price-new {
  font-size: 2rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.pricing-card .small {
  margin: 0 0 0.6rem !important;
  font-size: 0.9rem !important;
}

.pricing-card ul {
  margin: 0 0 1.1rem !important;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.pricing-card li {
  position: relative;
  padding-left: 1.4rem;
  color: #cbd5e1 !important;
  font-size: 0.9rem;
}

.pricing-card li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  border-radius: 999px !important;
  background: rgba(37, 99, 235, 0.18) !important;
  border: 1px solid rgba(37, 99, 235, 0.45) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 9px;
}

.pricing-card .btn {
  margin-top: auto !important;
  width: 100%;
}

.pricing-card.recommended {
  border: 1px solid rgba(37, 99, 235, 0.7) !important;
  background: linear-gradient(180deg, #0c1735, #080d1f) !important;
  box-shadow: 0 18px 50px -16px rgba(37, 99, 235, 0.55),
              0 0 0 1px rgba(37, 99, 235, 0.18) inset !important;
  transform: translateY(-6px) !important;
}

.pricing-card.recommended:hover {
  transform: translateY(-9px) !important;
}

.pricing-card.recommended::after {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 0.32rem 0.7rem;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.6);
  white-space: nowrap;
}

.pricing-card .sale-flag,
.addon-flag {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  background: rgba(37, 99, 235, 0.16) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(37, 99, 235, 0.45) !important;
  padding: 0.22rem 0.55rem !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  border-radius: 999px !important;
}

/* ---------- PACKAGES PAGE: ADDONS in pricing-card style ---------- */
.addons-section {
  margin-top: 4rem;
  padding-top: 2.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.addons-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.addons-header .badge {
  margin: 0 auto 0.7rem;
}

.addons-header .section-title {
  margin: 0 auto 0.5rem;
}

.addons-header .section-subtitle {
  margin: 0 auto;
  max-width: 720px;
}

.addons-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.15rem;
}

.addon-card {
  position: relative;
  padding: 1.6rem 1.4rem !important;
  border-radius: 18px !important;
  display: flex !important;
  flex-direction: column;
  gap: 0.55rem !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.addon-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(37, 99, 235, 0.45) !important;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.65) !important;
}

.addon-card.highlight {
  border: 1px solid rgba(37, 99, 235, 0.6) !important;
  background: linear-gradient(180deg, #0c1735, #080d1f) !important;
  box-shadow: 0 16px 40px -16px rgba(37, 99, 235, 0.45) !important;
}

.addon-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: rgba(37, 99, 235, 0.14) !important;
  border: 1px solid rgba(37, 99, 235, 0.4) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.addon-card h3 {
  margin: 0 0 0.1rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

.addon-price {
  font-family: "Poppins", "Sora", sans-serif;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin: 0.1rem 0 0.4rem !important;
  color: #ffffff !important;
}

.addon-price-suffix {
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  margin-left: 2px;
}

.addon-card > p {
  margin: 0 0 0.55rem !important;
  font-size: 0.9rem;
}

.addon-card ul {
  margin: 0 0 1.1rem !important;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.addon-card li {
  position: relative;
  padding-left: 1.4rem;
  color: #cbd5e1 !important;
  font-size: 0.88rem;
}

.addon-card li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 999px !important;
  background: rgba(37, 99, 235, 0.18) !important;
  border: 1px solid rgba(37, 99, 235, 0.45) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 9px;
}

.addon-card .btn {
  margin-top: auto !important;
  width: 100%;
}

.addon-btn.is-added {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #86efac !important;
  border-color: rgba(34, 197, 94, 0.45) !important;
  cursor: default;
}

@media (max-width: 980px) {
  .addons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .pricing-card.recommended { transform: none !important; }
}

@media (max-width: 640px) {
  .addons-grid { grid-template-columns: 1fr !important; }
}

/* ---------- PACKAGES PAGE: SPRING SALE BANNER (redesigned countdown) ---------- */
.spring-sale {
  position: relative;
  margin-bottom: 2.4rem !important;
  padding: 2rem 1.6rem !important;
  border-radius: 22px !important;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(37, 99, 235, 0.12), transparent 60%),
    linear-gradient(180deg, #0c1735, #080d1f) !important;
  border: 1px solid rgba(37, 99, 235, 0.32) !important;
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.7),
              0 0 80px -30px rgba(37, 99, 235, 0.45) !important;
  overflow: hidden;
}

.spring-sale::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 220% 220%;
  animation: springSaleShimmer 7s linear infinite;
}

@keyframes springSaleShimmer {
  0%   { background-position: -100% -100%; }
  100% { background-position: 100% 100%; }
}

.spring-sale-glow { display: none !important; }

.spring-sale-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spring-sale-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem !important;
  background: rgba(37, 99, 235, 0.15) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(37, 99, 235, 0.45) !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.spring-sale-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #93c5fd;
  box-shadow: 0 0 10px rgba(147, 197, 253, 0.7);
  animation: aiStatusBlink 2s ease-in-out infinite;
}

.spring-sale-title {
  font-family: "Poppins", "Sora", sans-serif !important;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  margin: 0 0 0.7rem !important;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.spring-sale-sub {
  margin: 0 auto 1.4rem !important;
  max-width: 560px;
  font-size: 0.98rem !important;
  line-height: 1.55;
}

#spring-countdown.countdown {
  display: inline-flex !important;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.6rem !important;
  padding: 0.85rem 1rem !important;
  background: rgba(2, 4, 10, 0.6) !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
  border-radius: 16px !important;
  margin: 0 0 1rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#spring-countdown .countdown-cell {
  background: linear-gradient(180deg, #0e1a3a, #080d1f) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  padding: 0.7rem 0.85rem !important;
  min-width: 78px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.6) !important;
}

#spring-countdown .countdown-num {
  font-family: "Poppins", "Sora", sans-serif !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  color: #ffffff !important;
  font-variant-numeric: tabular-nums;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
}

#spring-countdown .countdown-lbl {
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b !important;
}

.spring-sale-end {
  margin: 0 !important;
  font-size: 0.82rem !important;
  color: #64748b !important;
  letter-spacing: 0.02em;
}

.spring-sale.is-ended { opacity: 0.65; }
.spring-sale.is-ended #spring-countdown { display: none !important; }

@media (max-width: 720px) {
  .spring-sale { padding: 1.5rem 1.1rem !important; }
  #spring-countdown.countdown { gap: 0.4rem !important; padding: 0.6rem 0.5rem !important; }
  #spring-countdown .countdown-cell { min-width: 60px !important; padding: 0.55rem 0.4rem !important; }
  #spring-countdown .countdown-num { font-size: 1.55rem !important; }
}

/* Lock body scroll when sale modal is open */
body.modal-open { overflow: hidden; }

/* ============================================================
   FINAL POLISH: Avatars, Vision Addons, Top Sale Announcement
   ============================================================ */

/* ---------- AI avatars: brand logo fills the circle (no white halo) ---------- */
.ai-launcher-avatar,
.ai-chat-avatar,
.ai-msg-avatar {
  background: #ffffff !important;
  overflow: hidden !important;
  position: relative !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ai-launcher-avatar img,
.ai-chat-avatar img,
.ai-msg-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 999px !important;
  transform: scale(1.22) !important;
}

/* Modal logo ring also gets full-bleed treatment */
.modal-logo-ring {
  overflow: hidden;
  background: #ffffff !important;
  display: grid;
  place-items: center;
}

.modal-logo-ring img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 999px !important;
  transform: scale(1.18) !important;
}

/* ---------- Vision form: selected addons as polished cards ---------- */
.vision-addons-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vision-addons-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.vision-addons-link {
  font-size: 0.82rem;
  color: #93c5fd !important;
  border-bottom: 1px dashed rgba(147, 197, 253, 0.5);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.vision-addons-link:hover {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.vision-addons-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.55rem;
}

.vision-addon-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(180deg, #0e1a3a, #080d1f);
  border: 1px solid rgba(37, 99, 235, 0.32);
  border-radius: 12px;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.16s ease;
  animation: visionAddonIn 0.22s ease-out both;
}

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

.vision-addon-card.is-removing {
  opacity: 0;
  transform: translateY(-3px) scale(0.98);
}

.vision-addon-card:hover {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.65);
}

.vision-addon-card-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.5);
  color: #93c5fd;
}

.vision-addon-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.vision-addon-card-title {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vision-addon-card-meta {
  font-size: 0.72rem;
  color: #64748b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.vision-addon-card-remove {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: pointer;
  padding: 0 !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.vision-addon-card-remove:hover {
  background: rgba(220, 38, 38, 0.18) !important;
  color: #fecaca !important;
  border-color: rgba(220, 38, 38, 0.5) !important;
}

.vision-addons-empty {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: #94a3b8 !important;
  font-size: 0.88rem;
}

.vision-addons-empty a {
  color: #93c5fd;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.4);
  text-underline-offset: 2px;
}

.vision-addons-empty a:hover { color: #ffffff; }

@media (max-width: 480px) {
  .vision-addons-cards { grid-template-columns: 1fr; }
}

/* ---------- Top "Spring Sale" announcement bar (redesigned) ---------- */
.sale-announce {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.6rem 1.05rem !important;
  background:
    linear-gradient(90deg,
      rgba(30, 64, 175, 0.95),
      rgba(37, 99, 235, 0.95) 50%,
      rgba(30, 64, 175, 0.95)
    ) !important;
  background-size: 200% 100% !important;
  animation: saleAnnounceShine 9s linear infinite;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  z-index: 1500;
  box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.5) !important;
}

@keyframes saleAnnounceShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.sale-announce::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
  animation: salePulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

.sale-announce-icon { display: none !important; }

.sale-announce-text {
  color: #ffffff !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
}

.sale-announce-text strong {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.15rem;
}

.sale-announce-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.85rem !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}

.sale-announce-cta:hover {
  background: #ffffff !important;
  color: #1e3a8a !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
}

.sale-announce-close {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 999px !important;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  transition: background 0.18s ease;
}

.sale-announce-close:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

body.has-sale-bar .site-header { top: 0; }

@media (max-width: 720px) {
  .sale-announce {
    flex-wrap: wrap;
    text-align: center;
    padding: 0.55rem 2.4rem !important;
    font-size: 0.84rem !important;
  }
  .sale-announce-cta { padding: 0.28rem 0.7rem !important; font-size: 0.78rem !important; }
}

/* ============================================================
   FINAL PASS: "Starting at" labels + Blue checkmark bullets
   ============================================================ */

/* ---------- "Starting at" label on pricing cards ---------- */
.pricing-card .price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.15rem !important;
  margin: 0.3rem 0 0.5rem !important;
}

.price-prefix {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93c5fd !important;
}

.price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}

/* ---------- "Starting at" label on addon prices ---------- */
.addon-price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.addon-price-prefix {
  display: block;
  width: 100%;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93c5fd !important;
  margin-bottom: -2px;
}

/* ---------- Blue checkmark circles on ALL bullet lists ---------- */
.hero-checklist,
.list-clean {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 0.4rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-checklist li,
.list-clean li {
  position: relative;
  padding-left: 1.7rem !important;
  color: #cbd5e1 !important;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-checklist li::before,
.list-clean li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.32rem !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background-color: rgba(37, 99, 235, 0.18) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 11px 11px !important;
  border: 1px solid rgba(37, 99, 235, 0.5) !important;
  margin: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 480px) {
  .pricing-card .price-new { font-size: 1.7rem !important; }
}

/* ---------- Reviews polish ---------- */
.reviews-list {
  display: grid;
  gap: 0.85rem;
}

.review-no-comment {
  font-style: italic;
  color: #94a3b8 !important;
}

.review-item h4 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* ---------- Cookies disclaimer banner ---------- */
.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 9999;
  width: min(380px, calc(100vw - 44px));
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.05rem 1.1rem 1rem;
  background: linear-gradient(165deg, rgba(20, 28, 50, 0.97), rgba(8, 13, 31, 0.97));
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7),
              0 6px 16px -6px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #e2e8f0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner.is-leaving {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

.cookie-banner-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cookie-banner-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93c5fd;
  flex-shrink: 0;
}

.cookie-banner-title {
  font-size: 0.98rem;
  color: #f8fafc;
  font-weight: 600;
}

.cookie-banner-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.cookie-banner-actions button {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.cookie-banner-decline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid var(--border);
}

.cookie-banner-decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  border-color: #334155;
}

.cookie-banner-accept {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
}

.cookie-banner-accept:hover {
  background: #1e40af;
  border-color: #1e40af;
  transform: translateY(-1px);
}

/* On small screens, span full width and sit above the AI chat launcher
   (which lives at right:22px / bottom:22px and is ~56px tall). */
@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 90px;
    width: auto;
  }
}

/* ============================================================
   MOBILE MENU REDESIGN
   - Animated 3-bar hamburger that morphs to X
   - Right-side slide-in drawer (full height) with blurred backdrop
   - Body scroll lock, larger touch targets, cleaner link styling
   ============================================================ */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The new hamburger button (only the inner icon container is visible) */
.menu-toggle.menu-toggle-icon {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: #f8fafc !important;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
              transform 0.18s ease;
  z-index: 1002;
  position: relative;
}

.menu-toggle.menu-toggle-icon:hover,
.menu-toggle.menu-toggle-icon:focus-visible {
  background: var(--primary-bg) !important;
  border-color: var(--primary-border) !important;
  color: #ffffff !important;
}

.menu-toggle.menu-toggle-icon.is-open {
  background: var(--primary-bg) !important;
  border-color: var(--primary-border) !important;
}

.menu-toggle-bars {
  position: relative;
  width: 22px;
  height: 16px;
  display: inline-block;
}

.menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: top 0.28s cubic-bezier(0.4, 0.2, 0.2, 1) 0.12s,
              transform 0.28s cubic-bezier(0.4, 0.2, 0.2, 1),
              opacity 0.18s ease;
}

.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 7px; }
.menu-toggle-bars span:nth-child(3) { top: 14px; }

/* Animate to X when open. Translate first (no delay), then rotate. */
.menu-toggle.is-open .menu-toggle-bars span {
  transition: top 0.28s cubic-bezier(0.4, 0.2, 0.2, 1),
              transform 0.28s cubic-bezier(0.4, 0.2, 0.2, 1) 0.12s,
              opacity 0.18s ease;
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Backdrop behind the drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 1000;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Lock scroll while drawer is open */
body.nav-open {
  overflow: hidden;
}

/* ---------- Mobile (<= 760px): drawer behaviour ---------- */
@media (max-width: 760px) {
  .menu-toggle.menu-toggle-icon {
    display: inline-flex;
  }

  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 86vw) !important;
    background: linear-gradient(180deg, #0a1024 0%, #050912 100%) !important;
    border: none !important;
    border-left: 1px solid var(--border) !important;
    border-radius: 0 !important;
    padding: 5.25rem 1.25rem 1.5rem !important;
    box-shadow: -22px 0 50px -16px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0.2, 0.2, 1);
    display: block !important;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem !important;
    width: 100%;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.85rem 0.95rem !important;
    font-size: 1rem !important;
    font-weight: 500;
    border-radius: 10px !important;
    color: #e2e8f0 !important;
    background: transparent !important;
    border: 1px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
                transform 0.18s ease;
  }

  .main-nav a:hover {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(37, 99, 235, 0.25);
  }

  .main-nav a.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
  }
}

/* Hide the underline pseudo-element on mobile drawer links */
@media (max-width: 760px) {
  .main-nav a::after {
    display: none !important;
  }
}

