﻿:root {
  color-scheme: dark;
  --blue: #3554ff;
  --blue-strong: #1447E6;
  --blue-light: #e8efff;
  --indigo: #4d8bff;
  --teal: #00d2ff;
  --orange: #ff5400;
  --dark: #0a0f1d;
  --dark-soft: #131a2f;
  --light: #364153;
  --surface: #f7f9ff;
  --surface-soft: rgba(255,255,255,0.82);
  --text: #0f172a;
  --text-muted: #6b7280;
  --radius: 30px;
  --shadow: 0 30px 80px rgba(17, 40, 130, 0.12);
  --shadow-soft: 0 20px 50px rgba(17, 40, 130, 0.08);
  --transition: 250ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, rgba(59, 89, 255, 0.18), transparent 32%),
              radial-gradient(circle at left, rgba(0, 210, 255, 0.12), transparent 22%),
              #f8fbff;
  color: var(--text);
}

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

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

button,
.btn {
  font-family: inherit;
}

.announcement-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--orange);
  padding: 5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.announcement-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #ffffff;
}

.site-header {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(59,89,255,0.12);
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 999;
}

.navbar {
  min-height: 70px;
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.brand-text {
  color: var(--dark);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(53,84,255,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--light);
  margin: 0 0.35rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--blue-strong);
}

.header-action .btn-demo {
  border-radius: 4px;
  box-shadow: 0 25px 40px rgba(53, 84, 255, 0.16);
}

.hero-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 1.75rem;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(59,89,255,0.16);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.glass-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
}

#problems .container .row {
  margin-top: 20px;
}
#problems .container .box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.problem-card {
  display: flex;
  align-items: center;
  background: #FEF2F2;
  border: 1.6px solid #FFC9C9;
  border-radius: 16px;
  padding: 1.75rem;
  width: 100%;
  max-width: 554px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 10px 30px rgba(17, 40, 130, 0.08);
}

.problem-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(17, 40, 130, 0.12);
  border-color: rgba(248,113,113,0.36);
}

.problem-card-inner {
  width: 100%;
}

.icon-circle {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FB2C36;
  color: #ffffff;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-red {
  background: #FB2C36;
  color: #ffffff;
}

.problem-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 1.06rem;
  font-weight: 700;
}

.problem-card p {
  margin: 0;
  color: var(--light);
  font-size: 0.95rem;
}
.warning-text {
  margin-top: 30px;
  color: #E7000B;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  text-align: center;
}

.faq-card {
  background: #ffffff;
  border: 1px solid rgba(59,89,255,0.12);
  border-radius: var(--radius);
  padding: 1.8rem;
  min-height: 200px;
  text-align: left;
}

.hero-pill {
  display: inline-flex;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(59,89,255,0.1);
  color: var(--blue-strong);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 20px;
  text-align: center;
  letter-spacing: 0.02em;
}

.hero-card h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.75rem, 2.5vw + 1rem, 4.25rem);
  font-weight: 500;
  line-height: 65px;
  margin: 1.35rem 0 0.75rem;
}

.hero-copy,
.section-copy,
.hero-caption,
.pricing-note,
.trust-note {
  color: var(--light);
  max-width: 740px;
  margin: 0 auto;
}

.section-copy,
.hero-caption,
.pricing-note,
.trust-note {
  font-size: 0.9rem;
}
.hero-copy {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
}

.hero-actions .btn {
  min-width: 220px;
  font-family: Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 15px 1.5rem;
  border-radius: 4px;
}
.hero-copy{
  margin-top: 1.15rem;
}

.hero-actions,
.hero-caption {
  margin-top: 1.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-strong), var(--indigo));
  border: none;
  color: #fff;
  box-shadow: 0 18px 35px rgba(53, 84, 255, 0.22);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-light {
  background: #ffffff;
  color: var(--orange);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 18px 35px rgba(53, 84, 255, 0.1);
}

.btn-light:hover,
.btn-light:focus {
  background: rgba(255,255,255,0.95);
}

.btn-solution-action {
  margin-top: 30px;
  padding: 12px 2rem;
  background: #ffffff;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  color: #2563EB;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), background var(--transition), border-color var(--transition);
}

.btn-solution-action:hover,
.btn-solution-action:focus {
  background: #f8fbff;
}

.btn-outline {
  border: 1px solid rgba(59,89,255,0.25);
  color: var(--dark);
  background: rgba(255,255,255,0.92);
}

.btn-outline-action {
  border: 1.6px solid #2563EB;
  color: #2563EB;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), background var(--transition), border-color var(--transition);
}

.btn-outline-action:hover,
.btn-outline-action:focus {
  transform: translateY(-2px);
  background: rgba(37,99,235,0.12);
  color: #2563EB;
  border-color: #2563EB;
  filter: brightness(1.05);
}

.section-contact .btn {
  border-radius: 4px;
  font-family: Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
}
.section-contact .btn-primary {
  padding: 15px 1.5rem;
  background: #ffffff;
  color: #1E3A8A;
}

.section-contact .btn-outline-action {
  padding: 13.5px 1.5rem;
  border: 1.6px solid rgba(255,255,255,0.8);
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.section-contact .btn-outline-action:hover,
.section-contact .btn-outline-action:focus {
  border-color: #ffffff;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.btn-solution-action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  color: #2563EB;
  border-color: #2563EB;
  /* filter: brightness(1.05); */
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(59,89,255,0.06);
}

.section-light,
.section-white {
  background: #f8fbff;
}

.section-white {
  background: #ffffff;
}

.section-solution {
  background: linear-gradient(135deg, #3554ff 0%, #1f3bb9 100%);
  position: relative;
  overflow: hidden;
}

.section-solution::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(255,255,255,0.18), transparent 25%),
              radial-gradient(circle at bottom right, rgba(0,210,255,0.18), transparent 20%);
}

.section-solution .container,
.section-cta .container {
  position: relative;
  z-index: 1;
}

.section-solution h2,
.section-cta h2 {
  color: #ffffff;
}

.solution-card,
.feature-card,
.step-card,
.testimonial-card,
.trust-card,
.pricing-card,
.simulator-panel,
.cta-block {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.solution-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #f8fbff;
  padding: 2rem;
  border-radius: var(--radius);
  min-height: 240px;
}

.solution-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(17, 40, 130, 0.12);
}

.solution-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 1.85rem;
}

.announcement-text svg {
  width: 14px;
  height: 15px;
}

.solution-icon svg {
  width: 32px;
  height: 32px;
}

.solution-flow {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}
.flow-arrow svg {
  margin-left: 10px;
  margin-right: 10px;
}

.feature-card:hover,
.step-card:hover,
.testimonial-card:hover,
.trust-card:hover,
.pricing-card:hover,
.simulator-panel:hover,
.cta-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(59,89,255,0.14);
  border-radius: var(--radius);
  padding: 1.8rem;
  min-height: 230px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(59,89,255,0.1);
  color: var(--blue-strong);
  font-size: 1.5rem;
}

.step-card,
.trust-card {
  background: #ffffff;
  border: 1px solid rgba(59,89,255,0.12);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  min-height: 260px;
}

.step-badge {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-strong), var(--indigo));
  border-radius: 50%;
}

.step-card h3,
.trust-card h3,
.feature-card h3,
.solution-card h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(59,89,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 260px;
  position: relative;
}

.quote-mark {
  font-size: 3rem;
  color: rgba(53,84,255,0.18);
  position: absolute;
  top: 18px;
  left: 22px;
}

.testimonial-card p {
  margin: 0;
}

.testimonial-card .testimonial-author {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-top: 0.25rem;
}

.pricing-card {
  max-width: 520px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #EFF6FF 0%, #EEF2FF 100%);
  border: 1.6px solid #BEDBFF;
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
}

.pricing-icon {
  font-size: 2.3rem;
}

.pricing-price {
  font-family: 'Inter', sans-serif;
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--blue-strong);
  margin: 0.8rem 0 0.2rem;
}

.pricing-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2rem;
  text-align: center;
  color: var(--light);
}

/* Pricing tabs */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.pricing-tab {
  background: transparent;
  border: 1px solid rgba(59,89,255,0.12);
  color: var(--blue-strong);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}
.pricing-tab.active {
  background: linear-gradient(135deg, var(--blue-strong), var(--indigo));
  color: #fff;
  box-shadow: 0 10px 30px rgba(53,84,255,0.12);
}

/* Horizontal feature list */
.pricing-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.pricing-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  min-width: 110px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.5rem;
  color: var(--light);
}
.pricing-check {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--blue-strong);
  font-size: 0.85rem;
}

.pricing-list p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.trust-card {
  text-align: center;
}

.trust-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: rgba(59,89,255,0.1);
  font-size: 1.6rem;
}

.trust-note {
  color: var(--blue-strong);
  font-weight: 600;
}

.section-cta {
  background: linear-gradient(135deg, #ff5400 0%, #de2b00 100%);
}

.final-urgency {
  margin-top: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.simulator-panel {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(59,89,255,0.16);
  border-radius: var(--radius);
}

.simulator-tabs {
  flex-wrap: wrap;
}

.sim-tab {
  border: 1px solid rgba(59,89,255,0.16);
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  background: rgba(255,255,255,0.94);
  color: var(--dark);
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.sim-tab.active,
.sim-tab:hover {
  background: var(--blue-strong);
  color: #fff;
  transform: translateY(-1px);
}

.simulator-content {
  min-height: 400px;
}

.sim-pane {
  display: none;
}

.sim-pane.active {
  display: block;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-blue { background: #4d8bff; }
.status-teal { background: #00d2ff; }
.status-indigo { background: #7c5cff; }

.sim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  color: var(--text-muted);
}

.sim-table {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(59,89,255,0.14);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  align-items: center;
}

.table-head {
  background: rgba(59,89,255,0.08);
  color: var(--blue-strong);
  font-weight: 700;
}

.table-row:nth-child(odd):not(.table-head) {
  background: rgba(53,84,255,0.04);
}

.cta-block {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,0.94);
  text-align: center;
}

html, body {
  height: 100%;
}

html {
  scroll-padding-top: 72px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 108px;
}

main {
  flex: 1 0 auto;
  position: relative;
}

.footer-section {
  background: #0a0f1d;
  position: static;
  width: 100%;
  z-index: 10;
}

.footer-section h3,
.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.88);
}
.footer-section h3 {
  margin-bottom: 25px;
  font-size: 1.15rem;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: #ffffff;
}

.footer-link {
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition);
}

.footer-link:hover {
  opacity: 0.8;
}

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

.footer-list li {
  margin-bottom: 0.85rem;
}

.footer-list a {
  color: rgba(255,255,255,0.75);
}

.footer-list a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
}

@media (max-width: 991px) {
  .hero-actions {
    align-items: center;
  }

  .sim-grid,
  .table-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .announcement-bar {
    padding: 3px;
  }
  .announcement-text {
    font-size: 12px;
    line-height: 18px;
  }
  .site-header {
    top: 24px;
  }
  /* Remove default focus/active outlines for toggler and buttons on mobile */
  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler:focus-visible {
    border: none;
    box-shadow: none;
    outline: none;
  }
  .btn,
  .btn:focus,
  .btn:active,
  .btn:focus-visible {
    box-shadow: none;
    outline: none;
  }
  .nav-link:focus,
  .nav-link:active,
  .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
  }
  /* Reduce nav link font size on mobile to match header CTA */
  .navbar-nav .nav-link {
    font-size: 0.82rem;
  }
  .navbar {
    justify-content: space-between;
  }
  .navbar-brand {
    flex: 0 0 auto;
    margin-right: 0;
    padding-right: 0;
  }
  .navbar-toggler {
    flex: 0 0 auto;
    border: none;
    box-shadow: none;
  }
  .navbar-brand img {
    width: 26px;
    height: 26px;
    margin-right: 0.18rem;
  }
  .navbar-brand .brand-text {
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .header-action {
    flex: 1 1 0;
    justify-content: center;
    margin: 0;
  }
  .navbar-toggler-wrap {
    flex: 0 0 auto;
    padding-left: 2.5rem;
  }
  .header-action .btn-demo {
    padding: 0.34rem 0.75rem;
    font-size: 0.82rem;
    min-width: 0;
  }
  /* Reduce CTA buttons in sections on mobile, but keep header .btn-demo unchanged */
  .btn.btn-lg:not(.btn-demo) {
    padding: 0.34rem 0.75rem;
    font-size: 0.82rem;
  }
  /* Reduce section-white font-size and add container padding on mobile */
  .section-white {
    font-size: 0.82rem;
  }
  .section-white .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* Reduce pricing price font-size on mobile */
  .pricing-price {
    font-size: 2.2rem;
  }
  .pricing-subtitle {
    font-size: 0.9rem;
  }
  /* Reduce hero h1 font-size on mobile */
  .hero-card h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.4;
  }
  /* Form labels and placeholder sizing to match .section-copy */
  #schoolSignupForm .form-label {
    font-size: 0.9rem;
  }
  #schoolSignupForm .form-control {
    font-size: 0.9rem;
  }
  #schoolSignupForm .form-control::placeholder {
    font-size: 0.9rem;
    opacity: 0.8;
  }
  /* Sign up button sizing to match header CTA */
  #schoolSignupForm .btn.btn-primary.btn-lg {
    padding: 0.34rem 0.75rem;
    font-size: 0.82rem;
  }
  /* Center right-column text and lists */
  #schoolSignupForm .col-lg-5 .p-5 {
    text-align: center;
  }
  #schoolSignupForm .col-lg-5 .p-5 ul {
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    list-style-position: inside;
  }
  .navbar-nav {
    text-align: left;
    margin-left: 0;
    width: 100%;
    align-items: flex-start;
    padding-left: 0.5rem;
  }
  /* Space between logo and first nav link on mobile */
  .navbar-nav .nav-item:first-child .nav-link {
    margin-top: 0.5rem;
  }
  .hero-card {
    padding: 2rem 1.5rem;
  }
  .feature-card,
  .solution-card,
  .step-card,
  .testimonial-card,
  .trust-card {
    min-height: auto;
  }
  /* Match footer horizontal padding to header on mobile */
  .footer-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 575px) {
  .pricing-list {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .pricing-list li {
    width: calc(50% - 0.375rem);
    min-width: auto;
    justify-content: flex-start;
    text-align: left;
    padding-left: 0.5rem;
  }
}

@media (max-width: 335px) {
  .pricing-list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
  .pricing-list li {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding-left: 0;
  }
}

/* Smoke animation inside circular illustration */
.smoke-circle {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.75), 0 18px 28px rgba(0, 0, 0, 0.08);
}
.smoke-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Ensure visible content is clipped to the circular shape */
  clip-path: circle(50% at 50% 50%);
}
.smoke-puff {
  position: absolute;
  bottom: 0;
  width: 24%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,1), rgba(205,235,255,0.96) 18%, rgba(150,200,255,0.88) 44%, rgba(100,160,255,0.72) 72%, rgba(59,89,255,0.55) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  filter: blur(1px);
  opacity: 1;
  transform: translateY(0) scale(0.95);
  animation: bubbleMove 6.5s ease-in-out infinite;
  mix-blend-mode: screen;
  box-shadow: 0 12px 30px rgba(59,89,255,0.3), inset 0 0 24px rgba(255,255,255,0.45);
}
.smoke-puff::before {
  content: '';
  position: absolute;
  top: 14%;
  left: 16%;
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  filter: blur(2px);
  opacity: 0.95;
}
.smoke-puff::after {
  content: '';
  position: absolute;
  top: 6%;
  right: 10%;
  width: 18%;
  height: 18%;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  filter: blur(0.8px);
  opacity: 0.85;
}
.smoke-circle .circle-content { position: relative; z-index: 2; }
.smoke-puff:nth-child(1) { left: 10%; width: 28%; height: 28%; animation-duration: 6s; animation-delay: 0s; }
.smoke-puff:nth-child(2) { left: 40%; width: 20%; height: 20%; animation-duration: 7.5s; animation-delay: 1.1s; }
.smoke-puff:nth-child(3) { left: 62%; width: 16%; height: 16%; animation-duration: 8.5s; animation-delay: 2.2s; }
.smoke-puff:nth-child(4) { left: 74%; width: 22%; height: 22%; animation-duration: 7.2s; animation-delay: 3.1s; opacity: 0.72; }

@keyframes bubbleMove {
  0% {
    transform: translateY(0) translateX(0) scale(0.95);
    opacity: 0.85;
  }
  30% {
    transform: translateY(-90%) translateX(6%) scale(1.02);
    opacity: 0.75;
  }
  65% {
    transform: translateY(-220%) translateX(10%) scale(1.08);
    opacity: 0.4;
  }
  90% {
    transform: translateY(-310%) translateX(12%) scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: translateY(-320%) translateX(14%) scale(1.12);
    opacity: 0;
  }
}
