/* ==========================================================================
   Plutorix — Custom styles layered on top of Bootstrap 5.3
   Light "T-Bank"-inspired theme: signature yellow accent, black text on
   white / light-grey surfaces, large rounded cards, soft shadows.
   ========================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f6f7f8;
  --surface: #ffffff;
  --surface-alt: #f3f4f6;
  --text-primary: #1d1d1b;
  --text-muted: #75777f;

  --accent: #ffdd2d;
  --accent-hover: #ffd21a;
  --accent-strong: #fbbf00;
  --ink: #1d1d1b; /* text/glyphs placed on the yellow accent */

  --accent-gradient: linear-gradient(135deg, #ffe14d 0%, #ffcc00 100%);

  --border-soft: #ececec;
  --border-soft-2: #e2e3e7;

  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 12px 32px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.12);

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --transition-base: 0.28s cubic-bezier(0.22, 1, 0.36, 1);

  --font-heading: 'Golos Text', 'Manrope', 'Inter', sans-serif;
  --font-body: 'Golos Text', 'Inter', sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.text-muted-2 {
  color: var(--text-muted) !important;
}

section {
  position: relative;
}

/* Alternating light-grey section backgrounds for vertical rhythm */
.section-muted,
.section-pain,
.section-how,
.section-pricing,
.section-faq {
  background: var(--bg-secondary);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.15rem);
}

/* Yellow highlighter effect for the accented word in headlines */
.text-gradient {
  background: var(--accent);
  color: var(--ink);
  padding: 0 0.12em;
  border-radius: 0.15em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  border-radius: 0.85rem;
  font-weight: 600;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

/* Primary — signature yellow with black text */
.btn-gradient {
  background: var(--accent);
  border: none;
  color: var(--ink);
  box-shadow: none;
}

.btn-gradient:hover,
.btn-gradient:focus-visible {
  background: var(--accent-hover);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(251, 191, 0, 0.4);
}

.btn-gradient:disabled {
  background: #f0e6b0;
  color: rgba(29, 29, 27, 0.5);
  box-shadow: none;
  transform: none;
}

/* Secondary — dark outline on light surfaces */
.btn-outline-light {
  border: 1.5px solid var(--border-soft-2);
  color: var(--text-primary);
  background: var(--surface);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: var(--surface-alt);
  border-color: var(--text-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Hero secondary — dark "ghost" button */
.btn-demo {
  background: transparent;
  border: 1.5px solid rgba(29, 29, 27, 0.22);
  color: var(--text-primary);
  backdrop-filter: none;
}

.btn-demo:hover,
.btn-demo:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

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

.btn-link:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

#mainNavbar {
  padding: 1.1rem 0;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
  border-bottom: 1px solid transparent;
}

#mainNavbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(17, 17, 17, 0.06);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.1rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.navbar-nav .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  transition: color var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
  color: var(--text-primary);
}

.login-btn {
  white-space: nowrap;
}

.navbar-toggler {
  border-color: var(--border-soft-2);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(251, 191, 0, 0.35);
}

.offcanvas {
  background: var(--surface) !important;
  color: var(--text-primary);
  border-left: 1px solid var(--border-soft);
}

.offcanvas .nav-link {
  color: var(--text-primary);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
  padding-top: 7rem;
}

.hero-bg-glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 55rem;
  background:
    radial-gradient(45% 45% at 30% 20%, rgba(255, 221, 45, 0.35), transparent 70%),
    radial-gradient(40% 40% at 78% 12%, rgba(255, 221, 45, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: glowShift 16s ease-in-out infinite alternate;
}

/* Pause background motion while a modal is open so form interactions stay smooth */
body.modal-open .hero-bg-glow,
body.modal-open .hero-badge {
  animation-play-state: paused;
}

@keyframes glowShift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(1%, 2%, 0) scale(1.05); }
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 50rem;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

@media (max-width: 420px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
  }
}

.hero-headline {
  font-size: clamp(2.3rem, 1.7rem + 2.6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.3rem);
  color: var(--text-muted);
  max-width: 46rem;
  line-height: 1.6;
}

.stats-row {
  max-width: 50rem;
  margin: 0 auto;
}

.stat-card {
  background: var(--surface-alt);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Cards (shared) — was "glass", now solid light surfaces
   ========================================================================== */

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.icon-badge {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.icon-badge-gradient {
  background: var(--accent);
  color: var(--ink);
  box-shadow: none;
}

.icon-badge-outline {
  background: #fdeceb;
  border: 1px solid #f7d2cf;
  color: #e5484d;
}

/* ==========================================================================
   Pain points / Features
   ========================================================================== */

.pain-card,
.feature-card {
  padding: 2rem !important;
}

/* ==========================================================================
   How it works
   ========================================================================== */

.how-timeline {
  position: relative;
}

.how-step {
  position: relative;
  padding: 1rem 1.25rem 1rem 0;
  height: 100%;
}

.how-step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  position: relative;
  display: inline-block;
}

.how-step-number::after {
  content: "";
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  bottom: 0.12em;
  height: 0.35em;
  background: var(--accent);
  border-radius: 0.15em;
  z-index: -1;
}

@media (min-width: 992px) {
  .how-timeline::before {
    content: "";
    position: absolute;
    top: 2.75rem;
    left: 4%;
    right: 4%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-soft-2) 0 10px, transparent 10px 20px);
    z-index: 0;
  }

  .how-step::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: -0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-primary);
  }

  .how-step:last-child::after {
    display: none;
  }
}

/* ==========================================================================
   Compliance
   ========================================================================== */

.compliance-card {
  padding: 2rem 1.25rem !important;
}

.compliance-icon {
  font-size: 2rem;
  color: var(--text-primary);
  display: block;
}

.compliance-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card-highlighted {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(255, 221, 45, 0.14), rgba(255, 255, 255, 0));
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.pricing-card-highlighted:hover {
  transform: scale(1.03) translateY(-6px);
}

@media (max-width: 991.98px) {
  .pricing-card-highlighted {
    transform: none;
  }
  .pricing-card-highlighted:hover {
    transform: translateY(-6px);
  }
}

.pricing-badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50rem;
}

.pricing-name {
  font-size: 1.4rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.55rem + 0.6vw, 2.25rem);
  font-weight: 800;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-primary);
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.pricing-features li i {
  color: var(--accent-strong);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-card {
  padding: 2rem !important;
  display: flex;
  flex-direction: column;
}

.testimonial-quote-icon {
  font-size: 2rem;
  color: var(--accent-strong);
}

.testimonial-text {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.65;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-accordion .accordion-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--surface-alt);
  color: var(--text-primary);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  outline: 3px solid var(--accent-strong);
  outline-offset: -3px;
}

.faq-accordion .accordion-button::after {
  filter: none;
}

.faq-accordion .accordion-body {
  padding: 0 1.5rem 1.25rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta-banner {
  background: var(--accent);
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}

.final-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(29, 29, 27, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.final-cta-banner h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.5rem);
  position: relative;
}

.final-cta-banner p {
  color: rgba(29, 29, 27, 0.78);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.15rem);
  position: relative;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-banner .btn-light {
  position: relative;
  background: var(--ink);
  color: #fff;
  border: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.final-cta-banner .btn-light:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-section {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-secondary);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-divider {
  border-color: var(--border-soft);
  opacity: 1;
}

.social-links a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-soft-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.social-links a:hover {
  color: var(--ink);
  background: var(--accent);
  border-color: transparent;
  transform: translateY(-3px);
}

/* ==========================================================================
   Auth Modal
   ========================================================================== */

.modal-backdrop.show {
  opacity: 0.45;
}

.auth-modal-content {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 1.5rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
}

.auth-modal-content .modal-title {
  font-size: 1.4rem;
  font-weight: 800;
}

.auth-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.phone-input-group .phone-prefix {
  background: var(--surface-alt);
  border: 1px solid var(--border-soft-2);
  border-right: none;
  color: var(--text-primary);
  font-weight: 600;
}

.phone-input-group .form-control,
.code-input,
.form-control {
  background: var(--surface-alt);
  border: 1px solid var(--border-soft-2);
  color: var(--text-primary);
}

.phone-input-group .form-control:focus,
.code-input:focus,
.form-control:focus {
  background: var(--surface);
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 0.2rem rgba(255, 221, 45, 0.35);
  color: var(--text-primary);
}

.form-control::placeholder {
  color: #a3a5ac;
}

.form-control.is-invalid {
  border-color: #e5484d;
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 72, 77, 0.2);
}

.invalid-feedback {
  color: #e5484d;
}

.form-check-input {
  background-color: var(--surface);
  border: 1px solid var(--border-soft-2);
}

.form-check-input:checked {
  background-color: var(--ink);
  border-color: var(--ink);
}

.form-check-input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 0.2rem rgba(255, 221, 45, 0.35);
}

.form-check-input.is-invalid ~ .form-check-label {
  color: #e5484d;
}

.consent-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent-strong);
  text-underline-offset: 2px;
}

.code-step-label {
  font-weight: 700;
  font-size: 1.05rem;
}

.code-hint {
  font-size: 0.9rem;
  line-height: 1.55;
}

.code-input {
  letter-spacing: 0.6em;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  padding-left: 0.6em;
}

.auth-secondary-actions {
  font-size: 0.88rem;
}

/* Call-verification step */
.dial-number span {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.call-wait {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.resend-link:disabled {
  text-decoration: none;
}

/* Alternative sign-in providers (visual placeholders) */
.social-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.social-auth-divider::before,
.social-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.social-auth-list {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

.social-auth-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border-soft-2);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.05);
  cursor: default;
  user-select: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.social-auth-icon img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.social-auth-icon:hover {
  transform: translateY(-3px);
  border-color: var(--border-soft);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
}

.demo-mode-alert {
  background: #fff8dc;
  border: 1px solid var(--accent);
  color: var(--text-primary);
  font-size: 0.85rem;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  display: flex;
}

.demo-mode-alert i {
  color: var(--accent-strong);
}

.telegram-link-alert {
  background: var(--surface-alt);
  border: 1px solid var(--border-soft-2);
  color: var(--text-primary);
  font-size: 0.85rem;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.telegram-link-alert i {
  color: var(--text-muted);
}

/* Toast */
.auth-success-toast {
  background: var(--surface);
  border: 1px solid var(--border-soft-2);
  color: var(--text-primary);
  border-radius: 0.9rem;
  box-shadow: var(--shadow-lg);
}

.auth-success-toast .bi-check-circle-fill {
  color: #1f9d55;
  font-size: 1.2rem;
}

/* ==========================================================================
   Micro-interactions
   ========================================================================== */

/* Tactile press on every button */
.btn:active {
  transform: translateY(0) scale(0.97);
}

/* Animated underline for nav links */
.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* Icon badges react when their card is hovered */
.icon-badge {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.glass-card:hover .icon-badge-gradient {
  transform: scale(1.05) rotate(-3deg);
}

.glass-card:hover .icon-badge-outline {
  transform: scale(1.05);
}

/* Compliance icons lift on hover */
.compliance-card .compliance-icon {
  transition: transform var(--transition-base);
}

.compliance-card:hover .compliance-icon {
  transform: translateY(-3px) scale(1.06);
}

/* Gentle floating hero badge */
.hero-badge {
  animation: badgeFloat 5s ease-in-out infinite;
}

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

/* Brand mark springs slightly on hover */
.navbar-brand .brand-icon {
  transition: transform var(--transition-base);
}

.navbar-brand:hover .brand-icon {
  transform: rotate(-8deg) scale(1.06);
}

/* Primary CTA sheen sweep on hover */
.btn-gradient {
  position: relative;
  overflow: hidden;
}

.btn-gradient::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-gradient:hover::after {
  left: 130%;
}

/* ==========================================================================
   Scroll-reveal animation
   ========================================================================== */

.fade-in-up,
.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.is-visible,
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in-up,
  .fade-in-section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg-glow {
    animation: none;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Responsive helpers
   ========================================================================== */

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 6rem;
  }

  .final-cta-banner {
    padding: 2.5rem 1.5rem !important;
  }
}
