/* ============================================
   Ratified Design System — Ported from React Prototype
   ============================================ */

/* ─── CSS Custom Properties (Brand Tokens) ─── */
:root {
  --brand-blue: #3F5AE7;
  --brand-blue-light: #6B83FF;
  --brand-blue-hover: #2c5bbf;
  --brand-blue-dark: #2A3FB8;
  --brand-carbon: #1E201D;
  --brand-platinum: #E8E9E7;
  --brand-night: #494A49;
  --brand-silver: #7F8287;
  --brand-bg-dark: #0D0F0D;
  --brand-text-muted: #B0B3B8;
  --brand-text-dim: #A0A3A7;
  --brand-accent-blue: #3B6FE0;
}

/* ─── Base Typography ─── */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--brand-bg-dark);
  line-height: 1.6;
}

p {
  line-height: 1.6;
  margin-bottom: 1em;
  font-weight: 500;
}

p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

/* ─── Gradient Text ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 50%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-animated {
  background: linear-gradient(135deg, #3F5AE7 0%, #6B7FFF 25%, #a5b4fc 50%, #6B7FFF 75%, #3F5AE7 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ─── Glow Border ─── */
.glow-border {
  box-shadow: 0 0 20px rgba(63, 90, 231, 0.15), 0 0 40px rgba(63, 90, 231, 0.05);
}

/* ─── Grid Background ─── */
.grid-bg {
  background-image:
    linear-gradient(rgba(63, 90, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 90, 231, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ─── Noise Overlay ─── */
.noise-overlay {
  position: relative;
}

.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── Keyframe Animations ─── */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(1deg); }
  66% { transform: translateY(4px) rotate(-1deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

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

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

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

/* ─── Animation Utility Classes ─── */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ─── Nav Gradient Line ─── */
.nav-gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), var(--brand-blue-light), var(--brand-blue), transparent);
  background-size: 200% 100%;
  animation: gradient-slide 3s linear infinite;
}

/* ─── Button Styles ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: var(--brand-accent-blue);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  box-shadow: 0 20px 40px rgba(59, 111, 224, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color: var(--brand-blue);
  font-weight: 700;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  text-decoration: none;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* CTA button variants for custom widgets + Elementor Button widget wrappers */
.btn-panel-glass,
.btn-panel-filled,
.btn-panel-glass .elementor-button,
.btn-panel-filled .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: all 0.28s ease;
}

.btn-panel-glass,
.btn-panel-glass .elementor-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-panel-glass:hover,
.btn-panel-glass .elementor-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 28px rgba(13, 15, 13, 0.2);
}

.btn-panel-filled,
.btn-panel-filled .elementor-button {
  border: 1px solid transparent;
  color: #ffffff !important;
  background: linear-gradient(to bottom, #375ae7, #2545c7);
}

.btn-panel-filled:hover,
.btn-panel-filled .elementor-button:hover {
  background: linear-gradient(to bottom, #3152d6, #213db1);
  box-shadow: 0 18px 28px rgba(37, 69, 199, 0.32);
}

.btn-panel-glass .elementor-button-icon,
.btn-panel-filled .elementor-button-icon {
  transition: transform 0.2s ease;
}

.btn-panel-glass:hover .elementor-button-icon,
.btn-panel-filled:hover .elementor-button-icon,
.btn-panel-glass .elementor-button:hover .elementor-button-icon,
.btn-panel-filled .elementor-button:hover .elementor-button-icon {
  transform: translateX(4px);
}

/* ─── Elementor Button Overrides ───
   Usage: Add class to Elementor Button widget via Advanced > CSS Classes.
   - btn-lg-primary   → Blue filled CTA (Book a Demo style)
   - btn-lg-secondary → Ghost outline (See How It Works style)
*/

/* — Large Primary Button — */
.btn-lg-primary .elementor-button {
  background-color: var(--brand-accent-blue) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  padding: 1rem 2rem !important;
  border-radius: 0.75rem !important;
  border: none !important;
  transition: all 0.3s ease !important;
  line-height: 1.4 !important;
}

.btn-lg-primary .elementor-button:hover {
  background-color: var(--brand-blue-hover) !important;
  box-shadow: 0 20px 40px rgba(59, 111, 224, 0.3) !important;
  transform: translateY(-1px);
}

.btn-lg-primary .elementor-button .elementor-button-text {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
}

.btn-lg-primary .elementor-button .elementor-button-icon {
  font-size: 1.125rem !important;
}

/* — Large Secondary Button — */
.btn-lg-secondary .elementor-button {
  background-color: transparent !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  padding: 1rem 2rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease !important;
  line-height: 1.4 !important;
}

.btn-lg-secondary .elementor-button:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.btn-lg-secondary .elementor-button .elementor-button-text {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  color: #fff !important;
}

.btn-lg-secondary .elementor-button .elementor-button-icon {
  font-size: 1.125rem !important;
  color: #fff !important;
}

/* ─── Global Heading Styles ───
   All Elementor headings automatically get Inter + correct size/weight.
   Just set the HTML tag (H1/H2/H3) in the Elementor Heading widget — no classes needed.
   Color inherits from the section, so it works on both dark and light backgrounds.

   For gradient keywords, wrap text in <span class="gradient-text">word</span>
   or <span class="gradient-text-animated">word</span> in the heading HTML.
*/

.elementor-heading-title {
  font-family: 'Inter', sans-serif !important;
}

/* — H1 — */
h1.elementor-heading-title {
  font-size: 3rem !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
}

@media (min-width: 768px) {
  h1.elementor-heading-title {
    font-size: 3.75rem !important;
  }
}

@media (min-width: 1024px) {
  h1.elementor-heading-title {
    font-size: 4.5rem !important;
  }
}

/* — H2 — */
h2.elementor-heading-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

@media (min-width: 768px) {
  h2.elementor-heading-title {
    font-size: 2.25rem !important;
  }
}

@media (min-width: 1024px) {
  h2.elementor-heading-title {
    font-size: 3rem !important;
  }
}

/* — H3 — */
h3.elementor-heading-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

@media (min-width: 1024px) {
  h3.elementor-heading-title {
    font-size: 1.5rem !important;
  }
}

/* ─── Heading Variant Classes ───
   Add via Advanced > CSS Classes on Elementor Heading widget.
   These override the global defaults above for specific use cases.
*/

/* Space Grotesk variant — for data points, stats, numbers */
.heading-display .elementor-heading-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
}

/* ─── Card Styles ─── */
.card-dark {
  padding: 1.75rem;
  border-radius: 1rem;
  background: rgba(30, 32, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.card-dark:hover {
  border-color: rgba(63, 90, 231, 0.3);
  transform: translateY(-4px);
}

.card-glass {
  padding: 1.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* ─── Section Backgrounds ─── */
.section-dark {
  background-color: var(--brand-bg-dark);
  color: var(--brand-platinum);
}

.section-light {
  background: linear-gradient(45deg, #E2E1E7 0%, #f0eff3 30%, #ffffff 70%, #ffffff 100%);
  color: var(--brand-carbon);
}

.section-blue-gradient {
  background: linear-gradient(135deg, #1a3a8a 0%, #2c5bbf 50%, #3B6FE0 100%);
  color: #fff;
}

.section-blue-dark-gradient {
  background: linear-gradient(180deg, #0D0F0D 0%, #0f1428 40%, #131a3a 60%, #0f1428 80%, #0D0F0D 100%);
}

/* ─── CTA Gradient Box ─── */
.cta-gradient-box {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* ─── Icon Box (How It Works step icons) ─── */
.icon-box-blue {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box-outline {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(63, 90, 231, 0.1);
  border: 1px solid rgba(63, 90, 231, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Pricing Card Highlight ─── */
.pricing-highlight {
  background-color: var(--brand-blue);
  border: 2px solid var(--brand-blue-light);
  box-shadow: 0 25px 50px rgba(63, 90, 231, 0.2);
}

/* ─── Badge Styles ─── */
.badge-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(63, 90, 231, 0.3);
  background: rgba(63, 90, 231, 0.15);
  backdrop-filter: blur(4px);
  color: var(--brand-blue-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-white {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: #fff;
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-black {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: var(--brand-carbon);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-blue-solid {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Badge on card keyline — add "has-badge" class to the card container.
   The HTML widget containing badge classes will sit centered on the top border. */
.e-con.has-badge {
  position: relative !important;
  --overflow: visible !important;
  overflow: visible !important;
}

.e-con.has-badge > .elementor-widget-html {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: auto !important;
  z-index: 1;
}

.e-con.has-badge > .elementor-widget-html .badge-white,
.e-con.has-badge > .elementor-widget-html .badge-black,
.e-con.has-badge > .elementor-widget-html .badge-blue-solid {
  white-space: nowrap;
}

/* ─── Section Heading Pattern ─── */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

/* ─── Smooth Scroll ─── */
html {
  scroll-behavior: smooth;
}

/* ─── Elementor Overrides ─── */
.elementor-section.elementor-section-full_width > .elementor-container {
  max-width: 100%;
}

/* Ensure Elementor widgets respect our font families */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.elementor-widget-text-editor {
  font-family: 'Inter', sans-serif;
}

/* Fix Elementor button styling conflicts */
.elementor-button.btn-primary {
  background-color: var(--brand-accent-blue);
}

/* ─── Ambient Floating Orbs (matches prototype GSAP orbs) ─── */
.ambient-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orbs .orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(100px);
}

.ambient-orbs .orb-1 {
  top: 15%;
  left: 10%;
  width: 18rem;
  height: 18rem;
  background: var(--brand-blue);
  opacity: 0.04;
  animation: orb-float-1 7s ease-in-out infinite alternate;
}

.ambient-orbs .orb-2 {
  top: 60%;
  right: 8%;
  width: 24rem;
  height: 24rem;
  background: var(--brand-blue-light);
  opacity: 0.03;
  filter: blur(120px);
  animation: orb-float-2 5s ease-in-out infinite alternate;
}

.ambient-orbs .orb-3 {
  bottom: 20%;
  left: 40%;
  width: 16rem;
  height: 16rem;
  background: var(--brand-blue);
  opacity: 0.05;
  filter: blur(90px);
  animation: orb-float-3 6s ease-in-out infinite alternate;
}

@keyframes orb-float-1 {
  0% { transform: translate(0, 0); opacity: 0.04; }
  100% { transform: translate(30px, -40px); opacity: 0.07; }
}

@keyframes orb-float-2 {
  0% { transform: translate(0, 0); opacity: 0.03; }
  100% { transform: translate(-25px, 35px); opacity: 0.06; }
}

@keyframes orb-float-3 {
  0% { transform: translate(0, 0); opacity: 0.05; }
  100% { transform: translate(20px, -30px); opacity: 0.08; }
}

/* ============================================
   Solutions + Pricing Page Parity
   ============================================ */

.ratified-media-placeholder {
  width: 100%;
  min-height: 320px;
  border-radius: 1rem;
  border: 1px dashed rgba(107, 131, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(63, 90, 231, 0.12) 0%, rgba(13, 15, 13, 0.2) 60%, rgba(107, 131, 255, 0.12) 100%);
  color: rgba(232, 233, 231, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.ratified-solutions-industry-card .ratified-feature-card {
  position: relative;
  overflow: hidden;
  border-left-width: 3px;
}

.ratified-solutions-industry-card .ratified-feature-card::after {
  content: '';
  position: absolute;
  inset: auto -40px -60px auto;
  width: 160px;
  height: 160px;
  border-radius: 9999px;
  background: rgba(63, 90, 231, 0.1);
  filter: blur(48px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ratified-solutions-industry-card .ratified-feature-card:hover::after {
  opacity: 1;
}

.ratified-solutions-industry-card .ratified-feature-card__description ul {
  margin: 0.85rem 0 0;
  padding-left: 1rem;
  list-style: disc;
}

.ratified-solutions-industry-card .ratified-feature-card__description li {
  margin-bottom: 0.35rem;
}

.ratified-solutions-challenge-card .ratified-feature-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.ratified-solutions-challenge-card .ratified-feature-card__description {
  display: none;
}

.ratified-pricing-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ratified-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(30, 32, 29, 0.08);
}

.ratified-pricing-card--featured {
  box-shadow: 0 25px 55px rgba(13, 15, 13, 0.26);
}

.ratified-pricing-card--featured:hover {
  box-shadow: 0 30px 70px rgba(13, 15, 13, 0.35);
}

.ratified-pricing-pill-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Add "btn-full-width" class to any button widget to make it fill container */
.btn-full-width .elementor-button {
  width: 100%;
  justify-content: center;
}

.ratified-pricing-help-card {
  margin-top: 2.25rem;
  border: 1px solid rgba(63, 90, 231, 0.2);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1rem 1rem 2rem;
}

.ratified-pricing-help-card .ratified-media-placeholder {
  min-height: 220px;
  margin-bottom: 1.35rem;
  border-radius: 1rem;
}

.ratified-pricing-help-card h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E201D;
  margin: 0 0 0.5rem;
}

.ratified-pricing-help-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #7F8287;
  margin: 0 0 1.15rem;
}

.ratified-pricing-help-card .btn-primary {
  font-size: 0.875rem;
  padding: 0.8rem 1.2rem;
  border-radius: 0.75rem;
}

.ratified-pricing-split .ratified-cis__description {
  max-width: 34rem;
}

@media (max-width: 1024px) {
  .ratified-pricing-help-card {
    margin-top: 1.5rem;
  }
}

/* ============================================
   Solutions Fidelity Layer
   ============================================ */

.ratified-solutions-hero {
  position: relative;
  overflow: hidden;
}

.ratified-solutions-hero::before,
.ratified-solutions-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.ratified-solutions-hero::before {
  top: 12%;
  right: 9%;
  width: 31rem;
  height: 31rem;
  background: rgba(63, 90, 231, 0.05);
  filter: blur(150px);
}

.ratified-solutions-hero::after {
  bottom: 6%;
  left: 4%;
  width: 25rem;
  height: 25rem;
  background: rgba(107, 131, 255, 0.04);
  filter: blur(130px);
}

.ratified-solutions-hero-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 560px;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  filter: brightness(1) drop-shadow(0 0 0 rgba(107, 131, 255, 0));
  will-change: clip-path, filter, opacity;
  animation:
    ratified-lock-sweep 16.7s ease-in-out infinite,
    ratified-lock-glow 16.7s ease-in-out infinite;
}

.ratified-solutions-hero-lock svg {
  width: 100%;
  height: auto;
  opacity: 0.5;
}

.ratified-solutions-hero-lock path,
.ratified-solutions-hero-lock rect {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@keyframes ratified-lock-sweep {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  12% {
    clip-path: inset(0 0 0 0);
    opacity: 0.52;
  }
  80% {
    clip-path: inset(0 0 0 0);
    opacity: 0.52;
  }
  91% {
    clip-path: inset(0 0 0 100%);
    opacity: 0.4;
  }
  100% {
    clip-path: inset(0 0 0 100%);
    opacity: 0;
  }
}

@keyframes ratified-lock-glow {
  0%,
  12%,
  80%,
  100% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(107, 131, 255, 0));
  }
  15.5% {
    filter: brightness(1.8) drop-shadow(0 0 12px rgba(107, 131, 255, 0.4));
  }
  20% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(107, 131, 255, 0));
  }
}

.ratified-solutions-reforms {
  position: relative;
  overflow: hidden;
}

.ratified-solutions-reforms__shape {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  opacity: 0.2;
  pointer-events: none;
  transition: transform 0.12s linear;
  z-index: 0;
}

.ratified-solutions-reforms__inner {
  position: relative;
  z-index: 2;
  transition: transform 0.12s linear;
}

.ratified-solutions-reforms::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 50rem;
  height: 24rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(63, 90, 231, 0.06);
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.ratified-solutions-platform {
  position: relative;
  overflow: hidden;
}

.ratified-solutions-platform__waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
  transition: transform 0.12s linear;
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(255,255,255,0.12), transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(255,255,255,0.08), transparent 50%),
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,0.08) 0px,
      rgba(255,255,255,0.08) 2px,
      transparent 2px,
      transparent 60px
    );
}

.ratified-solutions-platform__inner {
  position: relative;
  z-index: 2;
  transition: transform 0.12s linear;
}

.ratified-solutions-platform-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1a4d 0%, #1a2870 30%, #3f5ae7 70%, #6b83ff 100%);
}

/* ============================================
   Pricing Fidelity Layer
   ============================================ */

.ratified-pricing-hero {
  position: relative;
  overflow: hidden;
}

.ratified-pricing-hero-glow {
  position: absolute;
  left: 50%;
  top: -120px;
  width: 680px;
  height: 280px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(63, 90, 231, 0.16), rgba(63, 90, 231, 0) 70%);
  pointer-events: none;
}

.ratified-pricing-plans .ratified-pricing-card {
  min-height: 100%;
}

.ratified-pricing-plans .ratified-pricing-card .elementor-button {
  background-image: linear-gradient(to bottom, #375ae7, #2545c7) !important;
  border: none !important;
}

.ratified-pricing-plans .ratified-pricing-card .elementor-button:hover {
  background-image: linear-gradient(to bottom, #3152d6, #213db1) !important;
}

.ratified-pricing-transparency .ratified-cis__heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.ratified-pricing-faq .elementor-accordion .elementor-tab-title {
  border-radius: 0.9rem;
  margin-bottom: 0.7rem;
}

.ratified-pricing-faq .elementor-accordion .elementor-tab-content {
  border-top: 0 !important;
  margin-top: -0.5rem;
  margin-bottom: 0.7rem;
  border-bottom-left-radius: 0.9rem;
  border-bottom-right-radius: 0.9rem;
}

/* ─── FAQ Light Theme (React-style) ───
   Add "faq-light" class to the section/container containing the accordion */
.faq-light .elementor-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-light .elementor-accordion-item {
  border: 1px solid #E8E9E7 !important;
  border-radius: 1rem !important;
  background: #fff !important;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-light .elementor-accordion-item:hover {
  border-color: rgba(63, 90, 231, 0.2) !important;
}

.faq-light .elementor-accordion-item.elementor-active {
  border-color: rgba(63, 90, 231, 0.3) !important;
  box-shadow: 0 10px 25px -5px rgba(63, 90, 231, 0.05);
}

.faq-light .elementor-tab-title {
  padding: 1.25rem 1.5rem !important;
  background: transparent !important;
  border: none !important;
}

.faq-light .elementor-tab-title a,
.faq-light .elementor-tab-title .elementor-accordion-title {
  font-size: 1.0625rem !important; /* 17px */
  font-weight: 600 !important;
  color: var(--brand-carbon) !important;
  font-family: 'Inter', sans-serif !important;
}

.faq-light .elementor-tab-title .elementor-accordion-icon {
  color: var(--brand-blue) !important;
}

.faq-light .elementor-tab-title .elementor-accordion-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.faq-light .elementor-tab-title .elementor-accordion-icon i {
  font-size: 20px !important;
}

.faq-light .elementor-tab-content {
  padding: 0 1.5rem 1.5rem !important;
  border: none !important;
  background: transparent !important;
}

.faq-light .elementor-tab-content p,
.faq-light .elementor-tab-content {
  font-size: 0.9375rem !important; /* 15px */
  color: var(--brand-silver) !important;
  line-height: 1.7 !important;
}

/* ============================================
   Pricing Rollout Refinements
   ============================================ */

.ratified-pricing-help-panel {
  overflow: hidden;
}

.ratified-pricing-help-panel__image img {
  width: 100%;
  border-radius: 1rem;
  min-height: 220px;
  object-fit: cover;
  background:
    radial-gradient(circle at 15% 20%, rgba(107,131,255,0.35), rgba(107,131,255,0) 45%),
    linear-gradient(135deg, #eef2ff 0%, #dbe4ff 100%);
}

.ratified-pricing-help-panel .elementor-button {
  background-image: linear-gradient(to bottom, #375ae7, #2545c7) !important;
  border: none !important;
}

.ratified-pricing-help-panel .elementor-button:hover {
  background-image: linear-gradient(to bottom, #3152d6, #213db1) !important;
}

/* ============================================
   Blog Rollout — Enhanced Card Design
   ============================================ */

.ratified-blog-hero {
  position: relative;
  overflow: hidden;
}

.ratified-blog-hero::before,
.ratified-blog-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.ratified-blog-hero::before {
  width: 34rem;
  height: 34rem;
  top: -14rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(107,131,255,0.22) 0%, rgba(107,131,255,0) 68%);
}

.ratified-blog-hero::after {
  width: 28rem;
  height: 28rem;
  left: -10rem;
  bottom: -12rem;
  background: radial-gradient(circle, rgba(63,90,231,0.18) 0%, rgba(63,90,231,0) 70%);
}

/* ─── Blog Card Base Styles ─── */
.ratified-blog-featured-posts .elementor-post__card,
.ratified-blog-posts .elementor-post__card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.ratified-blog-featured-posts .elementor-post__card:hover,
.ratified-blog-posts .elementor-post__card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 90, 231, 0.25);
  box-shadow: 0 12px 32px rgba(63, 90, 231, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
}

/* Add gradient header when no thumbnail */
.ratified-blog-featured-posts .elementor-post:not(:has(.elementor-post__thumbnail)) .elementor-post__card,
.ratified-blog-posts .elementor-post:not(:has(.elementor-post__thumbnail)) .elementor-post__card {
  background:
    linear-gradient(to bottom,
      rgba(63, 90, 231, 0.04) 0%,
      rgba(107, 131, 255, 0.02) 120px,
      #ffffff 120px,
      #ffffff 100%
    );
}

/* ─── Thumbnail Styling (when featured images are set) ─── */
.ratified-blog-featured-posts .elementor-post__thumbnail,
.ratified-blog-posts .elementor-post__thumbnail {
  position: relative;
  overflow: hidden;
}

.ratified-blog-featured-posts .elementor-post__thumbnail img,
.ratified-blog-posts .elementor-post__thumbnail img {
  transition: transform 0.5s ease;
  object-fit: cover;
  width: 100%;
}

.ratified-blog-featured-posts .elementor-post__card:hover .elementor-post__thumbnail img,
.ratified-blog-posts .elementor-post__card:hover .elementor-post__thumbnail img {
  transform: scale(1.03);
}

/* ─── Card Text Content ─── */
.ratified-blog-featured-posts .elementor-post__text,
.ratified-blog-posts .elementor-post__text {
  padding: 1.75rem;
  border-left: 4px solid var(--brand-blue);
  margin: 0;
  background: linear-gradient(to right, rgba(63, 90, 231, 0.02) 0%, transparent 40%);
}

/* ─── Title Styling ─── */
.ratified-blog-featured-posts .elementor-post__title,
.ratified-blog-posts .elementor-post__title {
  margin-bottom: 0.875rem;
}

.ratified-blog-featured-posts .elementor-post__title a,
.ratified-blog-posts .elementor-post__title a {
  color: #1a1d26;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.24s ease;
  display: block;
}

.ratified-blog-featured-posts .elementor-post__title a:hover,
.ratified-blog-posts .elementor-post__title a:hover {
  color: var(--brand-blue);
}

/* ─── Excerpt Styling ─── */
.ratified-blog-featured-posts .elementor-post__excerpt,
.ratified-blog-posts .elementor-post__excerpt {
  margin-bottom: 1.25rem;
}

.ratified-blog-featured-posts .elementor-post__excerpt p,
.ratified-blog-posts .elementor-post__excerpt p {
  color: var(--brand-silver);
  line-height: 1.72;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

/* ─── Meta Info (Date, Author) ─── */
.ratified-blog-featured-posts .elementor-post-info,
.ratified-blog-posts .elementor-post-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(63, 90, 231, 0.08);
  color: var(--brand-silver);
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.ratified-blog-featured-posts .elementor-post-info__terms-list,
.ratified-blog-posts .elementor-post-info__terms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── Category Pills ─── */
.ratified-blog-featured-posts .elementor-post-info__terms-list a,
.ratified-blog-posts .elementor-post-info__terms-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: rgba(63, 90, 231, 0.06);
  border: 1px solid rgba(63, 90, 231, 0.15);
  border-radius: 9999px;
  color: var(--brand-night);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  text-decoration: none;
  transition: all 0.24s ease;
}

.ratified-blog-featured-posts .elementor-post-info__terms-list a:hover,
.ratified-blog-posts .elementor-post-info__terms-list a:hover {
  background: rgba(63, 90, 231, 0.12);
  border-color: rgba(63, 90, 231, 0.3);
  color: var(--brand-blue);
}

/* ─── Read More Link ─── */
.ratified-blog-featured-posts .elementor-post__read-more,
.ratified-blog-posts .elementor-post__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.24s ease;
}

.ratified-blog-featured-posts .elementor-post__read-more:hover,
.ratified-blog-posts .elementor-post__read-more:hover {
  color: var(--brand-blue-dark);
  gap: 0.65rem;
}

.ratified-blog-featured-posts .elementor-post__read-more::after,
.ratified-blog-posts .elementor-post__read-more::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.24s ease;
}

.ratified-blog-featured-posts .elementor-post__read-more:hover::after,
.ratified-blog-posts .elementor-post__read-more:hover::after {
  transform: translateX(3px);
}

/* ─── Featured Post (Single Column) — Hero Card ─── */
.ratified-blog-featured-posts .elementor-posts-container {
  gap: 0;
}

.ratified-blog-featured-posts .elementor-post__card {
  border-radius: 1rem;
  border-left: 4px solid var(--brand-blue);
  background: linear-gradient(135deg, #fafbff 0%, #ffffff 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(63, 90, 231, 0.06);
}

.ratified-blog-featured-posts .elementor-post__text {
  padding: 2rem 2rem 2.25rem;
  border-left: none;
}

.ratified-blog-featured-posts .elementor-post__title a {
  font-size: 1.625rem;
  line-height: 1.3;
}

.ratified-blog-featured-posts .elementor-post__excerpt p {
  font-size: 1rem;
  line-height: 1.72;
}

@media (max-width: 768px) {
  .ratified-blog-featured-posts .elementor-post__text {
    padding: 1.5rem;
  }

  .ratified-blog-featured-posts .elementor-post__title a {
    font-size: 1.375rem;
  }
}

/* ─── Grid Cards ─── */
.ratified-blog-posts .elementor-posts-container {
  gap: 1.5rem;
}

.ratified-blog-posts .elementor-post {
  margin-bottom: 0;
}

.ratified-blog-posts .elementor-post__card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ratified-blog-posts .elementor-post__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.ratified-blog-posts .elementor-post__excerpt {
  flex: 1;
}

.ratified-blog-posts .elementor-post-info {
  margin-top: auto;
}

/* ─── Pagination ─── */
.ratified-blog-posts .elementor-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.ratified-blog-posts .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(63, 90, 231, 0.18);
  background: #fff;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.24s ease;
}

.ratified-blog-posts .page-numbers:hover {
  border-color: rgba(63, 90, 231, 0.35);
  background: rgba(63, 90, 231, 0.06);
  color: var(--brand-blue);
}

.ratified-blog-posts .page-numbers.current {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
}

.ratified-blog-posts .page-numbers.prev,
.ratified-blog-posts .page-numbers.next {
  font-size: 0.8rem;
}

/* ─── Author Avatar (if shown) ─── */
.ratified-blog-featured-posts .elementor-post-info .elementor-avatar,
.ratified-blog-posts .elementor-post-info .elementor-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(63, 90, 231, 0.12);
}

.ratified-blog-featured-posts .elementor-post-info .elementor-avatar img,
.ratified-blog-posts .elementor-post-info .elementor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Contact Rollout
   ============================================ */

.ratified-contact-hero {
  position: relative;
  overflow: hidden;
}

.ratified-contact-hero::before,
.ratified-contact-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.ratified-contact-hero::before {
  width: 38rem;
  height: 38rem;
  right: -13rem;
  top: -16rem;
  background: radial-gradient(circle, rgba(107,131,255,0.24) 0%, rgba(107,131,255,0) 67%);
}

.ratified-contact-hero::after {
  width: 30rem;
  height: 30rem;
  left: -10rem;
  bottom: -12rem;
  background: radial-gradient(circle, rgba(63,90,231,0.2) 0%, rgba(63,90,231,0) 70%);
}

.ratified-contact-info-list .elementor-icon-list-item {
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.ratified-contact-info-list .elementor-icon-list-icon {
  margin-top: 0.05rem;
}

.ratified-contact-form-shell .elementor-field-group {
  margin-bottom: 0.95rem;
}

.ratified-contact-form-shell .elementor-field-label {
  color: #1e201d;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.ratified-contact-form-shell .elementor-field,
.ratified-contact-form-shell .elementor-textarea {
  border: 1px solid rgba(63,90,231,0.22) !important;
  border-radius: 0.8rem !important;
  min-height: 3rem;
  background: #fdfdff !important;
  color: #1e201d !important;
}

.ratified-contact-form-shell .elementor-textarea {
  min-height: 8.5rem;
}

.ratified-contact-form-shell .elementor-field:focus,
.ratified-contact-form-shell .elementor-textarea:focus {
  border-color: #3f5ae7 !important;
  box-shadow: 0 0 0 3px rgba(63,90,231,0.12) !important;
}

.ratified-contact-form-shell .elementor-button {
  background-image: linear-gradient(to bottom, #375ae7, #2545c7) !important;
  border: none !important;
  border-radius: 0.85rem !important;
  min-height: 3.15rem;
  font-weight: 700 !important;
}

.ratified-contact-form-shell .elementor-button:hover {
  background-image: linear-gradient(to bottom, #3152d6, #213db1) !important;
}

.ratified-contact-faq .elementor-accordion .elementor-tab-title {
  border-radius: 0.9rem;
  margin-bottom: 0.65rem;
}

.ratified-contact-faq .elementor-accordion .elementor-tab-content {
  border-top: 0 !important;
  margin-top: -0.42rem;
  margin-bottom: 0.65rem;
  border-bottom-left-radius: 0.9rem;
  border-bottom-right-radius: 0.9rem;
}
