/* ============================================================
   CANVA PRO LANDING PAGE — VANILLA CSS
   Converted from Next.js + Tailwind + shadcn/ui
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Design tokens — light mode (default) */
  --background: 0 0% 100%;
  --foreground: 263 40% 15%;
  --card: 0 0% 100%;
  --card-foreground: 263 40% 15%;
  --popover: 0 0% 100%;
  --popover-foreground: 263 40% 15%;
  --primary: 221 83% 53%;
  --primary-foreground: 0 0% 100%;
  --secondary: 276 100% 98%;
  --secondary-foreground: 263 40% 15%;
  --muted: 276 100% 97%;
  --muted-foreground: 263 30% 45%;
  --accent: 221 83% 53%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 263 20% 90%;
  --input: 263 20% 94%;
  --ring: 221 83% 53%;
  --radius: 0.75rem;

  /* Colors shorthand */
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --yellow-500: #eab308;
  --yellow-400: #facc15;
  --orange-300: #fdba74;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --sky-400: #38bdf8;
  --blue-500: #3b82f6;
  --blue-50-half: rgba(239, 246, 255, 0.5);
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeSpeed;
}

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

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

ul, ol {
  list-style: none;
}

/* ---------- LAYOUT UTILITIES ---------- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background-color: hsl(var(--background));
  overflow-x: hidden;
}

.page-main {
  flex-grow: 1;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ---------- TYPOGRAPHY ---------- */
.text-primary { color: hsl(var(--primary)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }

/* ============================================================
   SECTION: DAILY OFFER BANNER (countdown-timer)
   ============================================================ */
.daily-banner {
  width: 100%;
  background-color: hsl(var(--background));
}

.daily-banner__bar {
  background-color: var(--red-600);
  color: var(--white);
  width: 100%;
  padding: 0.625rem 1rem;
}

.daily-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .daily-banner__inner { font-size: 1rem; }
}
@media (min-width: 768px) {
  .daily-banner__inner { font-size: 1.125rem; }
}

.daily-banner__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .daily-banner__icon { width: 1.5rem; height: 1.5rem; }
}

.daily-banner__date-text {
  animation: pulseText 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.daily-banner__tag-row {
  text-align: center;
  padding: 1rem 0;
}

.daily-banner__tag {
  display: inline-block;
  background-color: var(--gray-100);
  color: var(--gray-800);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

@media (min-width: 640px) {
  .daily-banner__tag { font-size: 1rem; }
}

/* ============================================================
   SECTION: HERO
   ============================================================ */
.hero {
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
}

.hero__content {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: hsl(var(--primary));
  line-height: 1.15;
}

@media (min-width: 640px) {
  .hero__title { font-size: 3rem; }
}
@media (min-width: 768px) {
  .hero__title { font-size: 3.75rem; }
}

.hero__subtitle {
  margin-top: 1rem;
  font-size: 1rem;
  color: hsl(var(--foreground));
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero__subtitle { font-size: 1.25rem; }
}

/* CTA scroll button */
.hero__cta-scroll-wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.hero__cta-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  border-radius: 9999px;
  background: linear-gradient(to right, var(--sky-400), var(--blue-500));
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
  transition: box-shadow 0.3s, transform 0.3s;
  animation: gentlePulse 2s ease-in-out infinite;
  cursor: pointer;
  border: none;
}

@media (min-width: 768px) {
  .hero__cta-scroll {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }
}

.hero__cta-scroll:hover {
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
  transform: scale(1.05);
}

/* Video iframe wrapper */
.hero__video-wrap {
  margin-top: 2rem;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__video-frame {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  border: 2px solid hsl(var(--primary) / 0.2);
}

.hero__video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Hero buy button */
.hero__buy-wrap {
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn--primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.btn--primary:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
  transform: scale(1.05);
}

.btn--lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .btn--lg {
    height: 3.5rem;
    padding: 0 2.5rem;
    font-size: 1.125rem;
  }
}

/* Trust badges */
.hero__trust {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__trust-item span {
  font-weight: 600;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

/* ============================================================
   SECTION: PROBLEMS & SOLUTIONS
   ============================================================ */
.problems {
  width: 100%;
  padding: 4rem 0;
  background-color: hsl(var(--secondary));
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

@media (min-width: 768px) {
  .problems { padding: 6rem 0; }
}

.problems__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .problems__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.problems__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problems__heading {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .problems__heading {
    font-size: 2.25rem;
    text-align: left;
  }
}

.problems__heading--gradient {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problems__desc {
  color: hsl(var(--muted-foreground));
  text-align: center;
}

@media (min-width: 768px) {
  .problems__desc { text-align: left; }
}

/* Card component */
.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
}

.card--highlight {
  border-color: hsl(var(--primary));
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

.card__body {
  padding: 1.5rem;
}

.problems__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .problems__list { font-size: 1rem; }
}

.problems__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.problems__list-item svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.problems__list-item span {
  color: hsl(var(--foreground));
}

.problems__list-item--solution span {
  font-weight: 500;
}

/* ============================================================
   SECTION: FEATURE CARDS
   ============================================================ */
.features {
  width: 100%;
  padding: 4rem 0;
  background-color: hsl(var(--background));
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

@media (min-width: 768px) {
  .features { padding: 6rem 0; }
}

.features__header {
  max-width: 36rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.features__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .features__title { font-size: 2.25rem; }
}

.features__subtitle {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .features__grid { gap: 1.5rem; }
}

.feature-card {
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transform: translateY(-0.25rem);
}

.feature-card__icon-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.5rem;
}

@media (min-width: 768px) {
  .feature-card__icon-wrap { padding-bottom: 1rem; }
}

.feature-card__icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary) / 0.1);
}

.feature-card__icon-circle svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .feature-card__icon-circle svg { width: 2rem; height: 2rem; }
}

.feature-card__label {
  padding: 0 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .feature-card__label { font-size: 1.125rem; }
}

/* ============================================================
   SECTION: PRICING CARDS
   ============================================================ */
.pricing {
  width: 100%;
  padding: 4rem 0;
  background-color: hsl(var(--secondary));
  content-visibility: auto;
  contain-intrinsic-size: auto 1200px;
}

@media (min-width: 768px) {
  .pricing { padding: 6rem 0; }
}

.pricing__header {
  max-width: 56rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.pricing__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .pricing__title { font-size: 2.25rem; }
}

.pricing__subtitle {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
}

/* Testimonials image */
.pricing__testimonials {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.pricing__testimonials img {
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 56rem;
  height: auto;
}

/* Plan header (second) */
.pricing__plan-header {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

/* Cards grid */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
}

/* Pricing Card */
.pricing-card {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-300);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  background-color: hsl(var(--card));
}

.pricing-card--featured {
  border: 2px solid hsl(var(--primary));
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  padding-top: 2.5rem;
}

.pricing-card__badge-wrap {
  position: relative;
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
}

.pricing-card__badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.pricing-card__head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.pricing-card__type {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.pricing-card__type--primary {
  color: hsl(var(--primary));
  font-weight: 600;
}

.pricing-card__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.pricing-card__benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-card__benefit span {
  color: hsl(var(--foreground));
}

.pricing-card__benefit--bold span {
  font-weight: 700;
}

.pricing-card__footer {
  margin-top: auto;
}

.pricing-card__price-row {
  text-align: center;
  margin-bottom: 1rem;
}

.pricing-card__old-price {
  font-size: 0.875rem;
  color: var(--red-500);
  font-weight: 500;
}

.pricing-card__old-price s {
  text-decoration: line-through;
}

.pricing-card__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: hsl(var(--primary));
}

.pricing-card__trust {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.pricing-card__trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.btn--full {
  width: 100%;
  height: 3rem;
  font-size: 1.125rem;
}

/* ============================================================
   SECTION: FAQ
   ============================================================ */
.faq {
  width: 100%;
  padding: 4rem 0;
  background-color: hsl(var(--background));
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

@media (min-width: 768px) {
  .faq { padding: 6rem 0; }
}

.faq__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .faq__title { font-size: 2.25rem; }
}

.faq__subtitle {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
}

/* Accordion */
.accordion {
  width: 100%;
  border-top: 1px solid hsl(var(--border));
}

.accordion__item {
  border-bottom: 1px solid hsl(var(--border));
}

.accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border: none;
  background: none;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}

.accordion__trigger:hover {
  color: hsl(var(--primary));
}

.accordion__chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease-out;
  color: hsl(var(--muted-foreground));
}

.accordion__item.is-open .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}

.accordion__panel-inner {
  padding-bottom: 1rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ============================================================
   SECTION: GUARANTEE
   ============================================================ */
.guarantee {
  width: 100%;
  padding: 4rem 0;
  background-color: hsl(var(--secondary));
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

@media (min-width: 768px) {
  .guarantee { padding: 6rem 0; }
}

.guarantee__card {
  max-width: 56rem;
  margin: 0 auto;
  border: 2px solid var(--green-500);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.guarantee__header {
  text-align: center;
  padding: 1.5rem 1.5rem 0;
}

.guarantee__icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--green-100);
  margin-bottom: 1rem;
}

.guarantee__icon-circle svg {
  width: 2rem;
  height: 2rem;
  color: var(--green-600);
}

.guarantee__title {
  font-size: 1.875rem;
  font-weight: 700;
}

.guarantee__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
  padding: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .guarantee__grid { grid-template-columns: repeat(3, 1fr); }
}

.guarantee__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.guarantee__item svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
}

.guarantee__item h3 {
  font-weight: 600;
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}

.guarantee__item p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* ============================================================
   SECTION: FINAL CTA
   ============================================================ */
.final-cta {
  width: 100%;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .final-cta { padding: 6rem 0; }
}

.final-cta__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta__title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .final-cta__title { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .final-cta__title { font-size: 3rem; }
}

.final-cta__desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .final-cta__desc { font-size: 1.25rem; }
}

.final-cta__btn-wrap {
  margin-top: 2rem;
}

.btn--accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.btn--accent:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
  transform: scale(1.05);
}

.btn--xl {
  height: 3.5rem;
  padding: 0 2rem;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .btn--xl {
    height: 4rem;
    padding: 0 3rem;
    font-size: 1.25rem;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  width: 100%;
  background-color: hsl(var(--secondary));
  border-top: 1px solid hsl(var(--border));
}

.footer__inner {
  padding: 2rem 0;
}

.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer__row {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copy {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.footer__link:hover {
  color: hsl(var(--foreground));
}

.footer__link--contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.footer__disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
}

.footer__disclaimer p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

/* ============================================================
   UPSELL POPUP (Dialog / Modal)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 95vw;
  max-width: 28rem;
  border-radius: 0.75rem;
  background-color: var(--white);
  color: var(--gray-900);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  padding: 1rem;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s;
}

@media (min-width: 640px) {
  .modal { padding: 1.5rem; }
}

.modal-overlay.is-open .modal {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  color: var(--gray-800);
}

.modal__head {
  text-align: center;
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .modal__title { font-size: 1.5rem; }
}

.modal__head-desc {
  color: var(--gray-600);
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .modal__head-desc { font-size: 1rem; }
}

.modal__body {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .modal__body { margin-top: 1.5rem; }
}

.modal__offer-box {
  border-radius: var(--radius);
  border: 2px solid hsl(var(--primary));
  background-color: var(--blue-50-half);
  padding: 1rem;
  text-align: center;
}

.modal__offer-tag {
  display: inline-block;
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .modal__offer-tag { margin-bottom: 1rem; }
}

.modal__offer-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) {
  .modal__offer-name { font-size: 1.25rem; }
}

.modal__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.modal__price-old {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--red-500);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

@media (min-width: 640px) {
  .modal__price-old { font-size: 1.25rem; }
}

.modal__price-new {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-500);
}

@media (min-width: 640px) {
  .modal__price-new { font-size: 3rem; }
}

.modal__savings {
  font-size: 0.75rem;
  color: var(--green-600);
  font-weight: 600;
}

@media (min-width: 640px) {
  .modal__savings { font-size: 0.875rem; }
}

.modal__benefits {
  margin-top: 1rem;
  text-align: left;
}

@media (min-width: 640px) {
  .modal__benefits { margin-top: 1.5rem; }
}

.modal__benefits-label {
  font-weight: 700;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .modal__benefits-label { font-size: 1rem; }
}

.modal__benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal__benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-600);
}

@media (min-width: 640px) {
  .modal__benefit-item { font-size: 0.875rem; }
}

.btn--modal-main {
  width: 100%;
  height: 3rem;
  font-size: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .btn--modal-main {
    height: 3.5rem;
    font-size: 1.125rem;
    margin-top: 1.5rem;
  }
}

.modal__alt-action {
  margin-top: 1rem;
  text-align: center;
}

.btn--outline {
  width: 100%;
  height: 2.5rem;
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-500);
  font-size: 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

@media (min-width: 640px) {
  .btn--outline {
    height: 2.75rem;
    font-size: 0.875rem;
  }
}

.btn--outline:hover {
  background-color: var(--gray-100);
}

/* ============================================================
   SALES NOTIFICATION (toast)
   ============================================================ */
.sales-notification {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  width: 100%;
  max-width: 17.5rem;
  border-radius: var(--radius);
  background-color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  border-left: 4px solid var(--green-500);
  transform: translateX(calc(-100% - 2rem));
  transition: transform 0.5s ease-out;
  will-change: transform;
}

.sales-notification.is-visible {
  transform: translateX(0);
}

.sales-notification__inner {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  gap: 0.75rem;
}

.sales-notification__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-500);
}

.sales-notification__text p:first-child {
  font-size: 0.875rem;
  color: var(--gray-800);
}

.sales-notification__name {
  font-weight: 700;
  color: hsl(var(--primary));
}

.sales-notification__location {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes pulseText {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================================
   SVG ICON COLORS (inline)
   ============================================================ */
.icon-green { color: var(--green-500); }
.icon-red { color: var(--red-500); }
.icon-yellow { color: var(--yellow-500); }
.icon-orange { color: var(--orange-300); }
.icon-primary { color: hsl(var(--primary)); }

/* ============================================================
   ACCESSIBILITY: Respeita preferência do usuário
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
