@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

/* 
  Proptiqa Main Stylesheet
  ===========================================
  Author: AI
  ===========================================
*/

:root {
  /* Colors */
  --bg-dark: #0f172a;
  /* Navy dark for hero/footer */
  --bg-darker: #020617;
  --bg-white: #ffffff;
  --bg-light-gray: #f8fafc;

  --primary: #3b82f6;
  /* Blue */
  --primary-hover: #2563eb;
  --secondary: #6366f1;
  /* Indigo */

  --text-dark: #f8fafc;
  /* Light text on dark bg */
  --text-light: #1e293b;
  /* Dark text on light bg */
  --text-muted: #64748b;
  --text-muted-dark: #94a3b8;

  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --glow-primary: 0 0 30px rgba(59, 130, 246, 0.4);

  /* Typography */
  --font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
  --brand-gradient: linear-gradient(90deg, #60a5fa, #8b5cf6);
}

.hand-underlined {
  position: relative;
  display: inline-block;
}

.hand-underlined::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg width='100' height='8' viewBox='0 0 100 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5.5C30 3.5 70 3.5 98 5.5' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' opacity='0.8'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100%;
  pointer-events: none;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.problem-section {
  padding-top: 40px !important;
}

.pt-4 {
  padding-top: 4rem;
}

.pb-4 {
  padding-bottom: 4rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

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

.text-left {
  text-align: left;
}

.bg-white {
  background-color: var(--bg-white);
  color: var(--text-light);
}

.bg-light-gray {
  background-color: var(--bg-light-gray);
  color: var(--text-light);
}

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

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

/* Subtitles & Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.section-subtitle.subtitle-red {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  -webkit-text-fill-color: #ef4444;
}

.section-subtitle.subtitle-green {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  -webkit-text-fill-color: #10b981;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.light-desc {
  color: var(--text-muted-dark);
}

.highlight-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Problem Section Refinements (Image 2 Parity) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1080px;
    margin: 4rem auto 0;
}

.comparison-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    font-size: 1.35rem;
    color: #1e293b;
}

.icon-red { background: #fee2e2; color: #ef4444; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.icon-blue { background: #dbeafe; color: #3b82f6; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

.comparison-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.125rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    box-shadow: none !important;
}

.card-red { background: #fff5f5 !important; }
.card-blue { background: #eff6ff !important; }

.comparison-card .comp-icon {
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-red .comp-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.card-blue .comp-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.card-red span { color: #4b5563; font-size: 0.95rem; }
.card-blue span { color: #1e3a8a; font-weight: 500; font-size: 0.95rem; }

/* Timeline Steps Styles */
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  padding-top: 2rem;
}

.timeline-steps::before {
  content: "";
  position: absolute;
  top: 72px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6, #10b981);
  opacity: 0.2;
  z-index: 1;
}

.step-card-v2 {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-number-badge {
  position: absolute;
  top: -8px;
  right: 18%;
  width: 26px;
  height: 26px;
  background: #fff;
  border: 2px solid #3b82f6;
  color: #3b82f6;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
}

.step-icon-box-large {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card-v2:hover .step-icon-box-large {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.step-card-v2 h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.step-card-v2 p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tag-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag-badge:hover {
  background: #e2e8f0;
  color: var(--primary);
}

/* Specific icon gradients */
.bg-step-1 { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.bg-step-2 { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.bg-step-3 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.bg-step-4 { background: linear-gradient(135deg, #10b981, #34d399); }


/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

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

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-link {
  color: var(--text-dark);
  font-weight: 500;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  margin-bottom: 2rem;
}

.glow-badge {
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1), 0 0 20px rgba(59, 130, 246, 0.2);
}

.outline-badge {
  background: transparent;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 999999 !important;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: rgba(10, 25, 47, 0.95);
  padding: 1rem 0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
  z-index: 999999 !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header .nav-list {
  display: flex;
  gap: 2rem;
}

.site-header .nav-list a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9375rem;
}

.site-header .nav-list a:hover {
  color: #fff;
}

.site-header .nav-list a.active,
.site-header .nav-list li.current-menu-item a,
.site-header .nav-list li.current_page_item a {
  color: #fff !important;
  position: relative;
}

.site-header .nav-list a.active::after,
.site-header .nav-list li.current-menu-item a::after,
.site-header .nav-list li.current_page_item a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}

body.page-template-page-pricing .site-header.scrolled .nav-list a.active,
body.page-template-page-pricing .site-header.scrolled .nav-list li.current-menu-item a,
body.page-template-page-contact .site-header.scrolled .nav-list a.active,
body.page-template-page-contact .site-header.scrolled .nav-list li.current-menu-item a,
body.page-template-page-thank-you .site-header.scrolled .nav-list a.active,
body.page-template-page-thank-you .site-header.scrolled .nav-list li.current-menu-item a {
  color: #2563eb !important;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
/* Hero Spinner Layer */
.hero-spinner-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
}

@keyframes spin-slow {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}



/* Typing Effect */
.typing-wrapper {
  display: inline-flex;
  align-items: center;
}

.dynamic-text {
  background: linear-gradient(90deg, #60a5fa, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  min-width: 1ch;
}

.typing-cursor {
  display: inline-block;
  color: #60a5fa;
  margin-left: 4px;
  font-weight: 300;
  animation: blink 1s step-end infinite;
  -webkit-text-fill-color: #60a5fa;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-section {
  padding-top: 10rem;
  padding-bottom: 12rem;
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
  position: relative;
  background-color: #0b1727;
  overflow: hidden; /* Ensure big rotating spinner doesn't leak */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Exactly replicates the tech dot-grid from Figma */
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.radial-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.glow-left {
  top: -200px;
  left: -200px;
  background: rgba(59, 130, 246, 0.4);
}

.glow-right {
  bottom: -100px;
  right: -200px;
  background: rgba(139, 92, 246, 0.4);
  animation-delay: -4s;
}

.glow-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(59, 130, 246, 0.2);
  width: 800px;
  height: 800px;
  animation: pulse-glow 12s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 4.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  background: linear-gradient(135deg, #60a5fa, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 5rem;
}

/* Hero Mockup Image */
.hero-image-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1000px;
  margin-bottom: -5rem;
  /* Pulls next section up */
}

.mockup-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webapp-mockup {
  width: 100%;
  max-width: 1050px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
  /* border removed to eliminate white thread effect */
}

.mobileapp-mockup {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 250px;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  z-index: 20;
  animation: float-left-right 4s ease-in-out infinite alternate;
  border: 4px solid #1e293b;
}

@keyframes float-left-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(15px); }
}

@media (max-width: 1024px) {
  .mobileapp-mockup {
    right: 0;
    width: 200px;
  }
}

@media (max-width: 768px) {
  .mockup-container {
    flex-direction: column;
  }
  .mobileapp-mockup {
    position: relative;
    margin-top: -60px;
    right: auto;
    bottom: auto;
    margin-left: auto;
  }
}

.glow-bg-strong {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--primary);
  filter: blur(120px);
  opacity: 0.3;
  z-index: 0;
}

.glass-board {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
}

.mockup-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  background: #334155;
}

.mockup-dots span:nth-child(1) {
  background: #ef4444;
}

.mockup-dots span:nth-child(2) {
  background: #f59e0b;
}

.mockup-dots span:nth-child(3) {
  background: #10b981;
}

.mockup-search {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #64748b;
  flex-grow: 1;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 500px;
}

.mockup-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
}

.m-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  margin-bottom: 2rem;
}

.m-menu-item {
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
}

.m-menu-item.active {
  background: rgba(59, 130, 246, 0.2);
}

.mockup-main {
  padding: 2rem;
  background: rgba(0, 0, 0, 0.1);
}

.m-title {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: left;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.s-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}

.s-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.s-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.chart-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  height: 250px;
}

.c-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.c-bar {
  width: 12%;
  background: linear-gradient(to top, #3b82f6, #60a5fa);
  border-radius: 4px 4px 0 0;
}

.circle-chart {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pie {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#3b82f6 0% 60%, #8b5cf6 60% 85%, #f59e0b 85% 100%);
}

/* Results Section Refinements (Image 3 Parity) */
.results-section {
    background-color: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.stat-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 32px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); /* Stronger premium shadow */
    border-color: rgba(0,0,0,0.05);
}

.stat-icon-square {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.stat-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.stat-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Color variations for metrics */
.yellow-metric .stat-icon-square { background: #f59e0b; box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); }
.yellow-metric h3 { color: #f59e0b; }

.green-metric .stat-icon-square { background: #10b981; box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }
.green-metric h3 { color: #10b981; }

.blue-metric .stat-icon-square { background: #3b82f6; box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4); }
.blue-metric h3 { color: #3b82f6; }

.purple-metric .stat-icon-square { background: #8b5cf6; box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4); }
.purple-metric h3 { color: #8b5cf6; }

.pink-metric .stat-icon-square { background: #ec4899; box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4); }
.pink-metric h3 { color: #ec4899; }

.teal-metric .stat-icon-square { background: #14b8a6; box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }
.teal-metric h3 { color: #14b8a6; }

.metrics-row-banner {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 3rem 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.metric {
    text-align: center;
}

.metric strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}

.metric span {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

/* Capabilities Grid — Premium SaaS Layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* =============================================
   CAP-CARD — Premium SaaS Capability Card
   ============================================= */

/* Card wrapper — no border-radius, sharp corners */
.cap-card {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    overflow: visible;
    position: relative;
    transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease;
    cursor: default;
    min-height: 230px;
}

/* Thin bottom border line — solid #2982E5, 2px height */
.cap-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2982E5;
    border-radius: 0;
    opacity: 1;
    z-index: 2;
}

.cap-card:hover {
    box-shadow: 0 16px 40px rgba(68, 138, 247, 0.12);
    border-color: #bfdbfe;
    z-index: 1;
}

/* Left icon sidebar — transparent, full height, position:relative */
.cap-icon-sidebar {
    flex-shrink: 0;
    width: 78px;
    position: relative;
    overflow: hidden;
}

/* The icon box — background #F2F3FD, centered vertically, expands on hover */
.cap-icon-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 22%;
    bottom: 22%;
    background: #F2F3FD;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease;
}

.cap-card:hover .cap-icon-box {
    top: 0;
    bottom: 0;
    background: #448AF7;
    border-color: #448AF7;
}

/* SVG Icon — 32px size, bold blue color #448AF7 */
.cap-icon-box svg {
    width: 32px;
    height: 32px;
    color: #448AF7;
    flex-shrink: 0;
    transition: color 0.35s ease 0.05s;
    position: relative;
    z-index: 1;
}

.cap-card:hover .cap-icon-box svg {
    color: #ffffff;
}

/* Right content area */
.cap-content {
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* Category label — using #448AF7 */
.cap-category {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #448AF7;
    margin-bottom: 8px;
}

/* Card heading */
.cap-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.38;
}

/* Card description */
.cap-content p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* Action link row — now an <a> tag */
a.cap-link,
.cap-link {
    display: flex;
    align-items: center;
    gap: 0;
    color: #004AAA;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

/* Bold black arrow */
.cap-arrow {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
    color: #000000;
    font-weight: 800;
}

.cap-card:hover .cap-arrow {
    transform: translateX(4px);
}

.cap-divider {
    color: #cbd5e1;
    margin: 0 10px;
    flex-shrink: 0;
    font-weight: 300;
    font-size: 1rem;
}

/* Slide-in "VIEW FEATURES" text — using #004AAA */
.cap-link-text {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #004AAA;
    transition: max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease 0.1s;
}

.cap-card:hover .cap-link-text {
    max-width: 120px;
    opacity: 1;
}



/* Glass card — kept for contact/pricing pages that still use it */
.glass-card {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blue-card .feature-icon-box { background: #3b82f6; }
.cyan-card .feature-icon-box { background: #06b6d4; }
.purple-card .feature-icon-box { background: #8b5cf6; }
.teal-card .feature-icon-box { background: #14b8a6; }
.indigo-card .feature-icon-box { background: #6366f1; }
.orange-card .feature-icon-box { background: #f59e0b; }
.green-card .feature-icon-box { background: #10b981; }
.pink-card .feature-icon-box { background: #ec4899; }
.amber-card .feature-icon-box { background: #f59e0b; }
.red-card .feature-icon-box { background: #ef4444; }

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) translateY(-2px);
}

/* Color-specific hover tints */
.blue-card:hover { background-color: #EFF6FF !important; border-color: #DBEAFE; }
.blue-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); }

.green-card:hover { background-color: #ECFDF5 !important; border-color: #D1FAE5; }
.green-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }

.purple-card:hover { background-color: #F5F3FF !important; border-color: #EDE9FE; }
.purple-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(139, 92, 246, 0.2); }

.orange-card:hover { background-color: #FFF7ED !important; border-color: #FFEDD5; }
.orange-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); }

.pink-card:hover { background-color: #FDF2F8 !important; border-color: #FCE7F3; }
.pink-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(236, 72, 153, 0.2); }

.cyan-card:hover { background-color: #ECFEFF !important; border-color: #CFFAFE; }
.cyan-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(6, 182, 212, 0.2); }

.red-card:hover { background-color: #FEF2F2 !important; border-color: #FEE2E2; }
.red-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }

.indigo-card:hover { background-color: #EEF2FF !important; border-color: #E0E7FF; }
.indigo-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(99, 102, 241, 0.2); }

.teal-card:hover { background-color: #F0FDFA !important; border-color: #CCFBF1; }
.teal-card:hover .feature-icon-box { box-shadow: 0 0 15px rgba(20, 184, 166, 0.2); }

.feature-icon-box svg {
  width: 24px;
  height: 24px;
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Steps Section */
.steps-flow {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 4rem;
}

.steps-flow::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
  border-style: dashed;
}

.step-card {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.step-icon-round {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #e0e7ff;
  box-shadow: 0 0 0 8px #fff;
}

.bg-blue-100 {
  background: #dbeafe;
}

.bg-green-100 {
  background: #d1fae5;
}

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

.step-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Demo Section */
.action-section {
  padding: 8rem 0;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  margin-top: 4rem;
}

.tabs-ui {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: 999px;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.demo-image-wrapper {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0 auto;
}

.glow-bg-demo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: #0ea5e9;
  filter: blur(120px);
  opacity: 0.2;
}

.interactive-mockup {
  height: 400px;
  display: flex;
  flex-direction: column;
}

.bars-chart-container {
  flex: 1;
  padding: 2rem;
  display: flex;
  align-items: flex-end;
}

.bars-chart {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.bar-group {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bar {
  width: 80%;
  border-radius: 4px 4px 0 0;
}

.bg-blue {
  background: #3b82f6;
}

.bg-gray {
  background: rgba(255, 255, 255, 0.1);
}

/* CTA Section Placement (Ready to implement in PHP) */
.pre-footer-cta {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-subtitle {
  color: #94a3b8;
  max-width: 600px;
  margin: 1.5rem auto 0 auto;
  font-size: 1.1rem;
}

.guarantee-text {
  margin-top: 1rem;
  color: #64748b;
}

/* Footer */
.site-footer {
  background-color: var(--bg-darker);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.brand-col .logo-text {
  margin-bottom: 1rem;
}

.brand-col p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-info p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fff;
}

.social-links a:hover {
  background: var(--primary);
}

/* Footer Section Refinement (Image 2 Parity) */
.site-footer {
    background: #020617;
    color: #fff;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 3.2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.brand-col .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-col p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.footer-contact {
    margin-bottom: 32px;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.footer-office-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 18px;
    transition: all 0.3s ease;
    word-break: break-word;
}

.footer-office-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.035);
}

.office-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.12);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item div,
.contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: #3b82f6;
}

.contact-item svg {
    color: #3b82f6;
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .brand-col {
        grid-column: span 1;
    }
    .footer-contact-grid {
        grid-template-columns: 1fr;
    }
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3b82f6;
}

/* Subscribe Strip */
.footer-subscribe-strip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.subscribe-text h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: #fff;
}

.subscribe-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.subscribe-form {
    display: flex;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    width: 100%;
    max-width: 450px;
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: #fff;
    outline: none;
}

.subscribe-form .btn-subscribe {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.subscribe-form .btn-subscribe:hover {
    background: #2563eb;
}

/* Footer Bottom */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 32px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    border-top: none;
    padding-top: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
}

.powered-by strong {
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials (Image 4) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto 0;
}

.testimonial-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stars {
  color: #fbbf24;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.test-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-details strong {
  display: block;
  font-size: 1rem;
  color: #1e293b;
}

.author-details span {
  font-size: 0.85rem;
  color: #64748b;
}

/* Product Preview Section (Image 1 Parity) */
.product-preview-section {
    background: #020617; /* High-depth dark navy */
    position: relative;
    overflow: hidden;
    padding: 140px 0;
}

.product-preview-section h2 {
    color: #ffffff;
}

.product-preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.05) 40%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.preview-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.preview-window-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.browser-window-glow {
    display: none;
}

.browser-frame {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 60px 10px rgba(59, 130, 246, 0.5), 0 0 120px rgba(59, 130, 246, 0.3);
    position: relative;
}

.browser-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.1);
    pointer-events: none;
}

.browser-header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-address {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 6px 60px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    margin-left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-content {
    background: #0f172a;
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
}

.tab-content {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
}

.tab-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.preview-text-container {
    padding: 40px 20px 0;
    text-align: center;
}

.preview-text-container h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.preview-text-container p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.nav-dots {
    display: flex;
    gap: 12px;
}

.nav-dot {
    width: 32px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.nav-dot.active {
    background: #3b82f6;
    width: 48px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Layout Rules
   ========================================================================== */

/* Global Prevent Overflow & Smooth Layouts */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Touch targets and standard responsive spacing */
.container {
  padding: 0 2rem;
  transition: padding 0.3s ease;
}

.btn {
  min-height: 44px; /* Proper touch targets */
}

/* laptop / transition breakpoint */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  .comparison-grid {
    gap: 2.5rem;
    padding: 0 1rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* tablet breakpoint */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .hero-image-wrapper {
    margin-bottom: -3rem;
  }
  .mobileapp-mockup {
    width: 190px;
    bottom: -20px;
  }
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .cap-card {
    min-height: 180px;
  }
  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .timeline-steps::before {
    display: none;
  }
  .step-number-badge {
    right: 12%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .metrics-row-banner {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 0;
    gap: 2rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  .brand-col {
    grid-column: 1 / -1;
  }
  .footer-subscribe-strip {
    padding: 30px;
  }

  /* Header & Mobile Menu Overlay */
  .site-header .nav-list,
  .header-actions .btn-link,
  .header-actions .btn-primary {
    display: none !important;
  }
  
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 1.85rem !important;
    cursor: pointer !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    line-height: 1 !important;
    z-index: 1002 !important;
    position: relative !important;
    transition: all 0.3s ease;
  }
  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15) !important;
  }
  
  .site-header.mobile-menu-open {
    background: #0b1727 !important;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.25rem;
  }
  
  .site-header.mobile-menu-open .header-container {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 3.5rem;
    align-items: center;
  }
  
  .site-header.mobile-menu-open .logo {
    align-self: flex-start;
  }
  
  .site-header.mobile-menu-open .mobile-menu-toggle {
    position: absolute;
    top: 1.5rem;
    right: 1.25rem;
  }
  
  .site-header.mobile-menu-open .main-navigation {
    display: block !important;
    width: 100%;
    text-align: center;
  }
  
  .site-header.mobile-menu-open .nav-list {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0;
  }
  
  .site-header.mobile-menu-open .nav-list a {
    font-size: 1.35rem;
    color: #fff;
    font-weight: 600;
    display: block;
    padding: 0.5rem 1rem;
  }
  
  .site-header.mobile-menu-open .header-actions {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    margin-top: 1rem;
  }
  
  .site-header.mobile-menu-open .header-actions .btn-link {
    display: inline-flex !important;
    font-size: 1.2rem;
    color: #fff;
  }
  
  .site-header.mobile-menu-open .header-actions .btn-primary {
    display: inline-flex !important;
    width: 100%;
    max-width: 280px;
    height: 46px;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  }
}

/* Mobile & Tablet Portrait Breakpoint */
@media (max-width: 768px) {
  /* Containers */
  .container {
    padding: 0 1.25rem; /* 20px side padding */
  }
  
  /* Typography */
  h1, .hero-title {
    font-size: 2.25rem;
    line-height: 1.3;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.35rem;
  }
  .section-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Hero Section Stacking */
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-image-wrapper {
    margin-bottom: 0;
  }
  
  .mockup-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .webapp-mockup {
    max-width: 100%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  }
  
  .mobileapp-mockup {
    position: static;
    width: 180px;
    margin: 0 auto;
    transform: none !important;
    animation: none !important;
    border: 3px solid #1e293b;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  }
  
  /* Problem Section Stacking */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
  }
  
  .comparison-header {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
  }
  
  .comparison-card {
    padding: 1rem;
    gap: 1rem;
  }
  
  .comparison-card span {
    font-size: 0.9rem;
  }
  
  /* Capabilities Section Stacking */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Mobile cap-card adjustments */
  .cap-card {
    min-height: unset;
  }
  .cap-icon-sidebar {
    width: 60px;
  }
  .cap-icon-sidebar svg {
    width: 22px;
    height: 22px;
  }
  .cap-content {
    padding: 18px 16px 16px;
  }
  .cap-content h3 {
    font-size: 0.95rem;
  }
  
  .glass-card {
    padding: 1.75rem 1.5rem;
  }
  
  .glass-card h3 {
    font-size: 1.15rem;
  }
  
  .glass-card p {
    font-size: 0.9rem;
  }
  
  /* How It Works Section Stacking */
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 1rem;
  }
  
  .step-icon-box-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 1rem;
  }
  
  .step-icon-box-large svg {
    width: 32px;
    height: 32px;
  }
  
  .step-number-badge {
    right: auto;
    left: 50%;
    transform: translateX(30px);
    top: -5px;
  }
  
  /* Market Offerings Section Stacking */
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .offering-card {
    padding: 24px 20px;
  }
  
  .offering-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .offering-card ul {
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .offering-card ul li {
    font-size: 0.88rem;
  }
  
  /* Product Preview Tabs Wrapping */
  .preview-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
  
  .preview-tabs .tab-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 20px;
    width: 100%;
  }
  
  .preview-text-container {
    padding: 24px 10px 0;
  }
  
  .preview-text-container h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }
  
  .preview-text-container p {
    font-size: 0.95rem;
  }
  
  .carousel-nav {
    gap: 16px;
    margin-top: 24px;
  }
  
  .nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  
  .nav-dots {
    gap: 8px;
  }
  
  .nav-dot {
    width: 20px;
  }
  
  .nav-dot.active {
    width: 32px;
  }
  
  /* Statistics Stacking */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .stat-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
  
  .stat-icon-square {
    width: 50px;
    height: 50px;
    margin-bottom: 1.25rem;
  }
  
  .stat-card h3 {
    font-size: 2.5rem;
  }
  
  .stat-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }
  
  .stat-card p {
    font-size: 0.9rem;
  }
  
  .metrics-row-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 1rem;
  }
  
  .metric strong {
    font-size: 1.5rem;
  }
  
  .metric span {
    font-size: 0.85rem;
  }
  
  /* Testimonials Stacking */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .testimonial-card {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
  }
  
  .stars {
    margin-bottom: 1rem;
  }
  
  .test-body {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }
  
  .author-info {
    padding-top: 1rem;
    gap: 0.75rem;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
  
  .author-details strong {
    font-size: 0.92rem;
  }
  
  .author-details span {
    font-size: 0.8rem;
  }
  
  /* Footer Stacking */
  .site-footer {
    padding: 60px 0 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  
  .brand-col p {
    margin-bottom: 1.5rem;
  }
  
  .footer-col h4 {
    margin-bottom: 12px;
  }
  
  .footer-subscribe-strip {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .subscribe-text h3 {
    font-size: 1.15rem;
  }
  
  .subscribe-text p {
    font-size: 0.85rem;
  }
  
  .subscribe-form {
    max-width: 100%;
    padding: 2px;
  }
  
  .subscribe-form input {
    padding: 8px 12px;
    font-size: 0.88rem;
  }
  
  .subscribe-form .btn-subscribe {
    padding: 8px 16px;
    font-size: 0.88rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    gap: 16px;
  }
  
  /* Pricing Page Stacking & Accordion Dropdowns */
  .pricing-hero {
    padding: 80px 20px 100px;
  }
  
  .pricing-title {
    font-size: 1.85rem !important;
    margin-bottom: 24px;
  }
  
  .pricing-trust-list {
    gap: 12px 24px;
  }
  
  .pricing-trust-list li {
    font-size: 0.9rem;
  }
  
  .pricing-controls-section {
    margin-top: -24px;
    margin-bottom: 40px;
  }
  
  .pricing-controls-layout {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  .custom-country-dropdown {
    width: 100%;
    max-width: 280px;
  }
  
  .custom-country-dropdown.open .dropdown-list {
    width: 100%;
    max-height: 380px;
    overflow-y: auto;
  }
  
  .dropdown-list {
    width: 100%;
    position: absolute !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25) !important;
  }
  
  /* accordion nesting */
  .dropdown-list .has-submenu, 
  .dropdown-list .has-level3 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  
  .dropdown-list .level-title {
    justify-content: space-between;
  }
  
  .dropdown-list .submenu-list,
  .dropdown-list .level3-list {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 4px 0 4px 20px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    max-height: none !important;
    overflow-y: visible !important;
    display: none;
    background: rgba(0, 0, 0, 0.15) !important;
  }
  
  .dropdown-list .has-submenu:hover > .submenu-list,
  .dropdown-list .has-level3:hover > .level3-list {
    display: block;
  }
  
  .billing-toggle-wrapper {
    padding: 6px 16px;
    gap: 10px;
  }
  
  .save-badge {
    position: static;
    transform: none;
    margin-left: 0;
    margin-top: 10px;
    display: block;
    text-align: center;
    animation: none;
    font-size: 1.3rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  
  .pricing-card {
    border-radius: 12px;
  }
  
  .card-header {
    padding: 30px 20px;
  }
  
  .price-display .price-val {
    font-size: 3rem;
  }
  
  .card-features {
    padding: 30px 20px 10px;
  }
  
  .card-features li {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  
  .card-action {
    padding: 20px;
  }
  
  .pricing-demo-banner {
    margin-top: 40px;
  }
  
  .pricing-demo-banner .banner-inner {
    padding: 24px;
    gap: 1.25rem;
  }
  
  .banner-icon {
    width: 60px;
    height: 60px;
  }
  
  .banner-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .banner-content h2 {
    font-size: 1.35rem;
  }
  
  .banner-content p {
    font-size: 0.9rem;
  }
  
  .banner-action .demo-trigger-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
  
  /* Mock browser panel and chart layouts in demo section */
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .chart-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: auto;
  }
  .c-box {
    padding: 1rem;
  }
  
  /* Demo Popover Form overlay responsive styling */
  .demo-popover {
    padding: 10px;
  }
  
  .demo-popover-wrapper {
    max-height: calc(100vh - 20px);
    border-radius: 12px;
  }
  
  .demo-popover-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
  
  .demo-popover-content {
    flex-direction: column;
  }
  
  .demo-popover-left {
    padding: 30px 20px;
  }
  
  .demo-popover-left h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  
  .demo-popover-left > p {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }
  
  .demo-help-list {
    margin-bottom: 20px;
  }
  
  .demo-help-list li {
    font-size: 0.88rem;
    gap: 8px;
  }
  
  .demo-icon-check {
    width: 20px;
    height: 20px;
  }
  
  .demo-icon-check svg {
    width: 12px;
    height: 12px;
  }
  
  .demo-contact-cards {
    flex-direction: column;
    gap: 10px;
  }
  
  .demo-card {
    padding: 12px;
  }
  
  .demo-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .demo-card p {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }
  
  .demo-popover-right {
    padding: 30px 20px;
  }
  
  .demo-popover-right h2 {
    font-size: 1.35rem;
    margin-bottom: 16px;
  }
  
  .demo-form {
    gap: 10px;
  }
  
  .input-with-icon input, 
  .input-with-icon select, 
  .phone-input {
    height: 38px;
    font-size: 0.85rem;
  }
  
  .form-group textarea {
    height: 50px;
    font-size: 0.85rem;
  }
  
  .demo-submit-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .form-footer.full-width.stack-footer {
    margin-top: 4px;
  }
}

/* Small Mobile Screens Specific Tweak */
@media (max-width: 480px) {
  .metrics-row-banner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pricing-title {
    font-size: 1.65rem !important;
  }
  .demo-contact-cards {
    width: 100%;
  }
}

/* ==========================================================================
   Pricing Page Styles
   ========================================================================== */
.pricing-page-wrapper {
    background-color: #f8fafc;
    padding-bottom: 60px;
}

/* White Header Override for Pricing and Contact Page */
.page-template-page-pricing .site-header.scrolled,
.page-template-page-contact .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.page-template-page-pricing .site-header.scrolled .nav-list a,
.page-template-page-pricing .site-header.scrolled .logo-text,
.page-template-page-pricing .site-header.scrolled .btn-link,
.page-template-page-pricing .site-header.scrolled .mobile-menu-toggle,
.page-template-page-contact .site-header.scrolled .nav-list a,
.page-template-page-contact .site-header.scrolled .logo-text,
.page-template-page-contact .site-header.scrolled .btn-link,
.page-template-page-contact .site-header.scrolled .mobile-menu-toggle {
    color: #0f172a !important;
}
.page-template-page-pricing .site-header.scrolled .nav-list a:hover,
.page-template-page-pricing .site-header.scrolled .btn-link:hover,
.page-template-page-contact .site-header.scrolled .nav-list a:hover,
.page-template-page-contact .site-header.scrolled .btn-link:hover {
    color: #3b82f6 !important;
}
.page-template-page-pricing .site-header.scrolled .logo a img,
.page-template-page-pricing .site-header.scrolled .logo-link img,
.page-template-page-contact .site-header.scrolled .logo a img,
.page-template-page-contact .site-header.scrolled .logo-link img {
    filter: none !important;
}

/* Hero Section */
.pricing-hero {
    position: relative;
    background: linear-gradient(135deg, #02203c 0%, #0f172a 100%);
    color: #fff;
    padding: 160px 20px 140px; /* Added breathing space */
    text-align: center;
    overflow: hidden;
}

.pricing-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.currency-symbol {
    position: absolute;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    user-select: none;
}

.symbol-rupee { top: 10%; left: 5%; transform: rotate(-15deg); }
.symbol-dirham { top: 40%; right: 5%; transform: rotate(10deg); }
.symbol-dollar { bottom: 10%; left: 15%; transform: rotate(25deg); font-size: 10rem; }
.symbol-qatar { top: 15%; right: 20%; transform: rotate(-5deg); }

.pricing-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-hero-badge::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 32px; /* Increased breathing space */
    line-height: 1.25;
}

.pricing-title .highlight-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pricing-trust-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.pricing-trust-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
}

.pricing-trust-list svg {
    color: #3b82f6; /* Blue checkmark */
}

/* Controls */
.pricing-controls-section {
    position: relative;
    z-index: 50; /* Higher z-index for dropdown */
    margin-top: -36px;
    margin-bottom: 60px;
}

.pricing-controls-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

/* Toggle Switch */
.billing-toggle-wrapper {
    background: #fff;
    padding: 8px 24px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: visible; /* Prevent save badge cutoff */
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-label.active {
    color: #0f172a;
}

.billing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.billing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.billing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3b82f6; /* Blue active switch */
    transition: .4s;
    border-radius: 34px;
}

.billing-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .billing-slider {
    background-color: #3b82f6;
}

input:checked + .billing-slider:before {
    transform: translateX(28px);
}

.save-badge {
    position: absolute;
    left: 100%;
    margin-left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-8deg);
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
    pointer-events: none;
    animation: saveBadgeFloat 3s ease-in-out infinite alternate;
}

@keyframes saveBadgeFloat {
    0% { transform: translateY(-50%) rotate(-8deg); }
    100% { transform: translateY(-60%) rotate(-12deg); }
}

/* Custom Dropdown Styles (Dark Theme) */
.custom-country-dropdown {
    position: relative;
    width: 200px;
}

.custom-country-dropdown .dropdown-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-weight: 600;
    color: #0f172a;
}

.custom-country-dropdown .dropdown-selected:hover {
    background: #f8fafc;
}

.flag-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s;
    color: #64748b;
}

.custom-country-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 440px; /* Two column robust width */
    max-width: 90vw;
    background: #232323;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border: 1px solid #3f3f3f;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(9, auto);
    grid-auto-flow: column; /* Force top-to-bottom filling */
}

.custom-country-dropdown.open .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-list li {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #e5e5e5;
    transition: background 0.2s;
}

.dropdown-list li[data-value="Global"] {
    grid-column: 1 / -1;
    border-bottom: 1px solid #3f3f3f;
    margin-bottom: 4px;
    padding-bottom: 12px;
}

.dropdown-list li:hover {
    background: #3a3a3a;
}

/* Pricing Grid */
.pricing-cards-section .container {
    max-width: 1320px !important;
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 32px !important;
    margin-bottom: 24px;
    align-items: stretch;
}

.pricing-card.featured-plan {
    border: 2px solid #3b82f6;
    position: relative;
    transform: scale(1.02);
    z-index: 20;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.main-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 30;
}

.plan-limits {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-limits span {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.05em;
}

.plan-limits strong {
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 800;
    white-space: nowrap !important;
}

.limit-icon {
    width: 24px;
    height: 24px;
    color: #3b82f6;
    flex-shrink: 0;
}

.ai-feature-highlight {
    background: rgba(59, 130, 246, 0.05);
    padding: 10px 12px 10px 32px; /* Adjusted to align with standard li */
    border-radius: 6px;
    color: #3b82f6 !important;
    font-weight: 700 !important;
    border-left: 3px solid #3b82f6;
    margin: 6px 0;
    display: block; /* Ensure full width highlight */
}

/* Fix checkmark position for highlighted items */
.ai-feature-highlight::before {
    left: 8px !important;
    top: 10px !important;
}

.yearly-hint {
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* Dropdown Submenu Styles (Dark Mode) */
.dropdown-menu-wrapper {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 320px;
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 1px solid #333;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 8px;
    overflow: visible; /* Allow submenus to fly out without clipping */
}

.custom-country-dropdown.open .dropdown-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Scrollbar styling for dark-mode dropdowns */
.dropdown-menu-wrapper::-webkit-scrollbar,
.submenu-list::-webkit-scrollbar,
.level3-list::-webkit-scrollbar {
    width: 6px;
}
.dropdown-menu-wrapper::-webkit-scrollbar-track,
.submenu-list::-webkit-scrollbar-track,
.level3-list::-webkit-scrollbar-track {
    background: transparent;
}
.dropdown-menu-wrapper::-webkit-scrollbar-thumb,
.submenu-list::-webkit-scrollbar-thumb,
.level3-list::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}
.dropdown-menu-wrapper::-webkit-scrollbar-thumb:hover,
.submenu-list::-webkit-scrollbar-thumb:hover,
.level3-list::-webkit-scrollbar-thumb:hover {
    background: #666;
}

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

.dropdown-main-list li {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    color: #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    position: relative;
}

.dropdown-main-list li:hover {
    background: #2d2d2d;
    color: #3b82f6;
}

.dropdown-main-list li.active {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}

.submenu-arrow {
    margin-left: auto;
    color: #94a3b8;
}

/* Nested Submenu (3-Tier Dark Mode) */
.dropdown-main-list .level-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.dropdown-main-list .submenu-list,
.dropdown-main-list .level3-list {
    position: absolute;
    left: 100%;
    top: -8px;
    width: 250px;
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 1px solid #333;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s;
    list-style: none;
    padding: 8px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: visible;
}

/* Countries Grid (Level 3) */
.dropdown-main-list .level3-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 480px;
    gap: 4px;
    padding: 12px;
    background: #202020; /* Slightly darker than level 2 */
    z-index: 1002;
    top: -12px;
    overflow: visible;
}

.has-submenu:hover > .submenu-list,
.has-level3:hover > .level3-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(2px);
}

.submenu-list li, .level3-list li {
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #ddd;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submenu-list li:hover, .level3-list li:hover {
    background: #2d2d2d;
    color: #3b82f6;
}

/* Custom Multilevel Overrides */
.dropdown-main-list li.region-option {
    padding: 12px 16px;
}
.dropdown-main-list li.region-option:hover {
    background: #2d2d2d;
}
.dropdown-main-list .subregion-item {
    padding: 10px 14px;
    border-radius: 6px;
}

/* Add-on Repository Section Styles */
.addon-repository-section {
    padding: 100px 0;
    background-color: #fff;
    border-top: 1px solid #f1f5f9;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.section-subtitle-text {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 48px;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Region-specific Text Toggles */
.india-only { display: inline; }
.global-only { display: none; }
.global-pricing-active .india-only { display: none; }
.global-pricing-active .global-only { display: inline; }

.addon-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: visible !important; /* Force visible to allow tooltip */
    transition: all 0.3s ease;
    text-align: center;
    position: relative; 
}

.addon-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    transform: translateY(-4px);
    border-color: #3b82f6;
    z-index: 50; /* Ensure hovered card and its tooltip are on top */
}

.addon-card-header {
    padding: 20px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafafa;
    border-top-left-radius: 11px; /* Match parent minus border */
    border-top-right-radius: 11px; /* Match parent minus border */
}

.addon-card-header h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #475569;
    margin: 0;
}

.addon-card-body {
    padding: 32px 16px;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
}

.addon-price {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    position: relative;
}

.info-icon {
    cursor: help;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
}

.info-icon:hover {
    color: #3b82f6;
}

.info-tooltip {
    visibility: hidden;
    width: 320px; /* Wider for 'horizontal' look */
    background-color: #1e293b;
    color: #fff;
    text-align: center; /* Center text for better horizontal balance */
    border-radius: 8px;
    padding: 12px 16px;
    position: absolute;
    z-index: 10000; /* Extremely high priority */
    bottom: 160%; /* Position higher to ensure it's above everything */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    pointer-events: none;
    text-transform: none; 
    letter-spacing: normal;
}

.info-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.info-icon:hover .info-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.addon-price .currency-prefix {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b82f6;
}

.addon-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
}

.addon-freq {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    /* overflow: hidden; */ /* Removed to prevent badge clipping */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Fill space */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}

.card-enterprise {
    border: 2px solid #0f172a;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.card-header {
    padding: 40px 30px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #475569;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.card-enterprise .card-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.price-strike {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 4px;
    min-height: 24px;
}

.price-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.price-display .currency-prefix {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-right: 4px;
}

.price-display .price-val {
    font-size: 2.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    transition: opacity 0.3s ease;
}

/* Number animation class */
.price-val.animating {
    opacity: 0;
    transform: scale(0.95);
}

/* Global Pricing Font Adjustments */
.global-pricing-active .price-display {
    gap: 4px;
    align-items: center;
}

.global-pricing-active .price-display .currency-prefix {
    font-size: 1.4rem;
    margin-right: 0;
    align-self: center;
}

.global-pricing-active .price-display .price-val {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Specific adjustment for Enterprise with long numbers */
.global-pricing-active .card-enterprise .price-val {
    font-size: 1.65rem;
}

.billing-freq {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.4;
    min-height: 40px;
}

.plan-desc {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 0;
    line-height: 1.5;
    min-height: 48px;
}

.card-action {
    padding: 30px;
    margin-top: auto; /* Pushes button to bottom */
    background: #fafafa;
    border-bottom-left-radius: 16px; /* Match card radius */
    border-bottom-right-radius: 16px; /* Match card radius */
}

.pricing-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: #3b82f6; /* Blue Button */
    border-color: #3b82f6;
    color: #fff;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.pricing-btn-outline {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-btn-outline:hover {
    background-color: #3b82f6;
    color: #fff;
}

.card-features {
    padding: 40px 30px 10px;
    background: #fafafa;
    flex: 1; /* Stretch middle to push buttons down evenly */
}

.features-title {
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.4;
}

.card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #3b82f6; /* Blue checkmarks */
    font-weight: bold;
    font-size: 1.1rem;
}

.badge-new {
    background: #3b82f6; /* Blue badge */
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.pricing-disclaimer {
    text-align: right;
    font-size: 0.85rem;
    font-style: italic;
    color: #94a3b8;
}

/* Demo CTA Banner */
.pricing-demo-banner {
    margin-top: 60px;
    padding: 0 20px;
}

.pricing-demo-banner .banner-inner {
    background: #02203c;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6; /* Blue icon */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-content {
    flex: 1;
}

.banner-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0;
    max-width: 600px;
}

.banner-action .demo-trigger-btn {
    background-color: #3b82f6; /* Blue Button */
    border-color: #3b82f6;
    white-space: nowrap;
    padding: 14px 32px;
}

.banner-action .demo-trigger-btn:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-demo-banner .banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    .banner-content p {
        margin: 0 auto;
    }
    .custom-country-dropdown {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-title {
        font-size: 2.25rem;
    }
    .pricing-controls-layout {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .custom-country-dropdown {
        width: 100%;
        max-width: 300px;
    }
    .dropdown-list {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-flow: row;
        max-height: 300px;
        overflow-y: auto;
    }
    .save-badge {
        position: static;
        transform: none;
        margin-left: 0;
        margin-top: 12px;
        display: block;
        text-align: center;
        animation: none;
    }
    .country-selector {
        margin: 0 auto;
    }
}

/* ==========================================================================
   Demo Popover Styles
   ========================================================================== */
.demo-popover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center; /* Center vertically instead of bottom to prevent overflow clipping */
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.demo-popover.active {
    visibility: visible;
    opacity: 1;
}

.demo-popover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.demo-popover-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    transform: translateY(40px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.demo-popover.active .demo-popover-wrapper {
    transform: translateY(0) scale(1);
}

.demo-popover-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.demo-popover-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.demo-popover-content {
    display: flex;
    flex: 1;
    overflow-y: auto;
}

/* Left Side */
.demo-popover-left {
    flex: 1;
    padding: 48px 40px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); /* gradient blue of our theme */
    display: flex;
    flex-direction: column;
}

.demo-popover-left h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.demo-popover-left > p {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 24px;
    max-width: 400px;
    line-height: 1.5;
}

.demo-help-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.demo-help-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #1e293b;
    font-weight: 500;
}

.demo-icon-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-contact-cards {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.demo-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.demo-card h3 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 8px;
    font-weight: 700;
}

.demo-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 8px;
}

.demo-card-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-person {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-person span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #0f172a;
    font-weight: 500;
    word-break: break-word; /* Fix broken email text */
}

.contact-person svg {
    color: #64748b;
    flex-shrink: 0;
}

/* Right Side (Form) */
.demo-popover-right {
    flex: 0.9;
    padding: 40px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.demo-popover-right h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.demo-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-footer.full-width.stack-footer {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: stretch;
}

.input-with-icon svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

/* Fix mismatched height across all inputs */
.input-with-icon input,
.input-with-icon select,
.phone-input input {
    height: 40px;
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #0f172a;
    transition: all 0.2s;
    background: #fff;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.input-with-icon input,
.input-with-icon select {
    padding: 0 16px 0 40px;
}

.phone-input {
    display: flex;
    align-items: stretch;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s;
    height: 40px;
    box-sizing: border-box;
}

.phone-input:focus-within,
.input-with-icon input:focus,
.input-with-icon select:focus,
.form-group textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.phone-prefix {
    padding: 0 12px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

.phone-input input {
    border: none;
    padding: 0 16px;
    border-radius: 0;
}

.form-group textarea {
    width: 100%;
    height: 60px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #0f172a;
    transition: all 0.2s;
    background: #fff;
    outline: none;
    resize: none; /* remove scrolling inside textarea if minimal */
    font-family: inherit;
    box-sizing: border-box;
}

.form-terms {
    width: 100%;
    text-align: center;
}

.form-terms p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.form-terms a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.form-submit {
    width: 100%;
}

.demo-submit-btn {
    width: 100%;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .demo-popover-content {
        flex-direction: column;
    }
    
    .demo-popover-wrapper {
        border-radius: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .demo-popover-left,
    .demo-popover-right {
        padding: 32px 24px;
    }
    
    .demo-contact-cards {
        flex-direction: column;
    }
}

/* ===== Market Offerings Section ===== */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .offerings-grid { grid-template-columns: 1fr; }
}

.offering-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px 32px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.offering-card:hover {
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.18);
    transform: translateY(-4px);
}

.offering-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.offering-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.offering-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offering-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
}

.offering-card ul li::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='9 12 11 14 15 10'/%3E%3C/svg%3E") center/contain no-repeat;
}

.offering-link {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.offering-link:hover { text-decoration: underline; }

/* ===== Feature Cards Hover Drop Shadow ===== */
.feature-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

.feature-card:hover {
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-4px) !important;
}

/* ===== Animated Counter ===== */
.counter-stat {
    transition: color 0.3s ease;
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.video-modal.active {
    visibility: visible;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.video-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.video-modal.active .video-modal-container {
    transform: translateY(0) scale(1);
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Scroll Reveal Animations (Robust Progressive Enhancement) */
.js-enabled .reveal-on-scroll {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal-on-scroll.active {
    opacity: 1;
    visibility: visible;
}

.js-enabled .fade-up { transform: translateY(40px); }
.js-enabled .fade-up.active { transform: translateY(0); }

.js-enabled .slide-in-left { transform: translateX(-40px); }
.js-enabled .slide-in-left.active { transform: translateX(0); }

.js-enabled .slide-in-right { transform: translateX(40px); }
.js-enabled .slide-in-right.active { transform: translateX(0); }

.js-enabled .stagger-reveal > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .stagger-reveal.active > * {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .stagger-reveal.active > *:nth-child(1) { transition-delay: 0.1s; }
.js-enabled .stagger-reveal.active > *:nth-child(2) { transition-delay: 0.2s; }
.js-enabled .stagger-reveal.active > *:nth-child(3) { transition-delay: 0.3s; }
.js-enabled .stagger-reveal.active > *:nth-child(4) { transition-delay: 0.4s; }
.js-enabled .stagger-reveal.active > *:nth-child(5) { transition-delay: 0.5s; }
.js-enabled .stagger-reveal.active > *:nth-child(6) { transition-delay: 0.6s; }
.js-enabled .stagger-reveal.active > *:nth-child(7) { transition-delay: 0.7s; }
.js-enabled .stagger-reveal.active > *:nth-child(8) { transition-delay: 0.8s; }
.js-enabled .stagger-reveal.active > *:nth-child(9) { transition-delay: 0.9s; }

/* ===================================================================
   PRICING PAGE ENHANCEMENTS - All accumulated improvements
   =================================================================== */

/* Pricing Controls Layout (edge position between hero and cards) */
.pricing-controls-container {
    position: relative;
    z-index: 9999;
}
.pricing-controls-layout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2rem !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 680px !important;
    margin: -40px auto 80px !important;
}

/* Country Dropdown */
.custom-country-dropdown {
    position: relative;
    user-select: none;
    min-width: 180px;
}
.dropdown-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s ease;
}
.custom-country-dropdown:hover .dropdown-selected,
.custom-country-dropdown.open .dropdown-selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: #94a3b8;
}
.custom-country-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}
.flag-icon {
    font-size: 1.25rem;
    line-height: 1;
}
.dropdown-menu-wrapper {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: #1e293b;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.05);
    padding: 8px 0;
    display: none;
    z-index: 99999 !important;
}
.custom-country-dropdown.open .dropdown-menu-wrapper {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-main-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dropdown-main-list > .country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dropdown-main-list > .country-option:hover,
.dropdown-main-list > .country-option.active {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}
.region-option { position: relative; }
.region-option > .level-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.15s ease;
}
.region-option:hover > .level-title,
.region-option.submenu-visible > .level-title {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}
.arrow-right {
    margin-left: auto;
    font-size: 1.2rem;
    color: #64748b;
    transition: color 0.15s;
}
.submenu-list {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: #1e293b;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.05);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 100000 !important;
}
.region-option:hover > .submenu-list,
.region-option.submenu-visible > .submenu-list {
    display: block;
    animation: subMenuFadeIn 0.15s ease;
}
@keyframes subMenuFadeIn {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 1; transform: translateX(0); }
}
.subregion-item { position: relative; }
.subregion-item > .level-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s ease;
}
.subregion-item:hover > .level-title {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
}
.level3-list {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    padding: 6px 0;
    list-style: none;
    margin: 0;
    z-index: 100001 !important;
}
.subregion-item:hover > .level3-list,
.subregion-item.level3-visible > .level3-list {
    display: block;
}
.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
}
.country-option:hover,
.country-option.active {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

/* Billing Toggle */
.billing-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 999px;
}
.toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}
.toggle-label.active { color: #1e293b; }
.billing-switch {
    position: relative;
    width: 46px;
    height: 26px;
    cursor: pointer;
}
.billing-switch input { opacity: 0; width: 0; height: 0; }
.billing-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: 0.3s;
}
.billing-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.billing-switch input:checked + .billing-slider { background: #3b82f6; }
.billing-switch input:checked + .billing-slider::before { transform: translateX(20px); }
.save-badge {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: #10b981;
    font-weight: 600;
    white-space: nowrap;
}

/* Price Display */
.price-display {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 4px !important;
    margin-bottom: 0.25rem !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}
.currency-prefix {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}
.price-val {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    transition: opacity 0.15s ease !important;
    white-space: nowrap !important;
}
.price-val.animating { opacity: 0.3 !important; }

/* Pricing Grid - Equal cards */
.pricing-page-wrapper, .pricing-page-wrapper *, .pricing-page-wrapper *::before, .pricing-page-wrapper *::after {
    box-sizing: border-box !important;
}
.pricing-grid {
    display: grid !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}
.pricing-grid.grid-4-cols {
    grid-template-columns: repeat(4, 1fr) !important;
}
.pricing-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 32px 20px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
}
.pricing-card.featured-plan { border: 2px solid #3b82f6 !important; }
.card-features {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 1.5rem !important;
}
.card-features ul {
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.card-features ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 0.35rem 0 !important;
    font-size: 0.85rem !important;
    color: #475569 !important;
    list-style: none !important;
}
.card-features ul li::before {
    content: '' !important;
    display: inline-block !important;
    position: static !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat !important;
}
.card-action {
    margin-top: auto !important;
    width: 100% !important;
}
.card-action .pricing-btn,
.card-action .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    text-align: center !important;
}
.main-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 5px 18px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

/* Scrolled header on pricing page */
body.page-template-page-pricing .site-header.scrolled {
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}
body.page-template-page-pricing .site-header.scrolled .nav-list a { color: #1e293b !important; }
body.page-template-page-pricing .site-header.scrolled .mobile-menu-toggle { color: #1e293b !important; }

/* RESPONSIVE OVERRIDES - guaranteed */
@media (max-width: 1100px) {
    .pricing-grid, .pricing-grid.grid-4-cols {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .pricing-grid, .pricing-grid.grid-4-cols {
        grid-template-columns: 1fr !important;
    }
    .pricing-controls-layout {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }
    .submenu-list, .level3-list {
        left: 0 !important;
        top: 100% !important;
        position: relative !important;
        box-shadow: none !important;
        background: #253247 !important;
    }
    .addon-grid { grid-template-columns: 1fr !important; }
    .pricing-title { font-size: 2rem !important; }
}

/* ==========================================================================
   FAQ Section Design
   ========================================================================== */
.faq-section {
    padding: 60px 0 100px;
}

.faq-container-card {
    background: #FFFFFF !important;
    border-radius: 24px !important;
    box-shadow: 0 15px 45px rgba(16, 27, 74, 0.08) !important;
    padding: 70px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    position: relative !important; /* Required for absolute floating assets */
}

/* Floating 3D Assets */
.faq-float-message {
    position: absolute !important;
    left: 80px !important;
    top: 50px !important;
    width: 60px !important; /* Reduced size as requested */
    height: auto !important;
    z-index: 5 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    animation: faqFloatUpDown 4s ease-in-out infinite alternate !important;
}

.faq-float-faq {
    position: absolute !important;
    right: 80px !important;
    top: 40px !important;
    width: 90px !important;
    height: auto !important;
    z-index: 5 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    animation: faqFloatLeftRight 4s ease-in-out infinite alternate !important;
}

@keyframes faqFloatUpDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(12px); }
}

@keyframes faqFloatLeftRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(12px); }
}

@media (max-width: 991px) {
    .faq-float-message, .faq-float-faq {
        display: none !important;
    }
}

.faq-badge {
    display: inline-block !important;
    background: #EEF4FF !important;
    color: #2E6BFF !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 16px !important;
}

.faq-container-card .section-header {
    margin-bottom: 30px !important;
    text-align: center !important;
}

.faq-container-card .section-header h2 {
    color: #101B4A !important;
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}

.faq-container-card .section-header .section-desc {
    color: #5F6B85 !important;
    font-size: 1.1rem !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.faq-content-layout {
    display: flex !important;
    gap: 40px !important;
    margin-top: 45px !important;
    align-items: flex-start !important;
}

.faq-category-panel {
    width: 25% !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    box-sizing: border-box !important;
}

.faq-category-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #2E6BFF !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

.faq-category-item {
    display: block !important;
    padding: 10px 0 10px 16px !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    border-left: 3px solid transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    color: #5F6B85 !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    text-align: left !important;
}

.faq-category-item:hover {
    color: #101B4A !important;
    background: transparent !important;
}

.faq-category-item.active {
    border-left-color: #2E6BFF !important;
    color: #101B4A !important;
    font-weight: 700 !important;
    background: transparent !important;
}

.faq-accordion-panel {
    width: 75% !important;
    display: flex !important;
    flex-direction: column !important;
}

.faq-group {
    display: none !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 100% !important;
}

.faq-group.active {
    display: flex !important;
}

.faq-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-card.open {
    border-color: #2E6BFF !important;
    box-shadow: 0 6px 20px rgba(46, 107, 255, 0.1) !important;
}

.faq-question {
    padding: 22px 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
    font-weight: 700 !important;
    color: #101B4A !important;
    font-size: 1.05rem !important;
    text-align: left !important;
    gap: 16px !important;
}

.faq-arrow {
    font-size: 1.35rem !important;
    color: #5F6B85 !important;
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    font-family: monospace, sans-serif !important;
    display: inline-block !important;
}

.faq-card.open .faq-arrow {
    color: #2E6BFF !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    /* Use a generous but not excessive max-height; JS sets exact value for smooth collapse */
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-card.open .faq-answer {
    /* max-height is set dynamically by JS for smooth animation */
    max-height: 600px;
}

.faq-answer p {
    margin: 0 0 22px 0 !important;
    color: #5F6B85 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes faqFadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-15px); }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .faq-container-card {
        padding: 40px 24px !important;
    }
    .faq-content-layout {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .faq-category-panel {
        width: 100% !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        padding: 8px !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .faq-category-panel::-webkit-scrollbar {
        height: 4px;
    }
    .faq-category-panel::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.1);
        border-radius: 4px;
    }
    .faq-category-item {
        flex-shrink: 0 !important;
        padding: 10px 14px !important;
        border-left: none !important;
        border-bottom: 3px solid transparent !important;
    }
    .faq-category-item.active {
        border-bottom-color: #2E6BFF !important;
        border-left: none !important;
    }
    .faq-accordion-panel {
        width: 100% !important;
    }
}

/* ==========================================================================
   Contact Us Page Design
   ========================================================================== */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #02203c 0%, #0f172a 100%);
    color: #fff;
    padding: 160px 20px 140px;
    text-align: center;
    overflow: hidden;
    min-height: 520px;
}

.contact-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.contact-bg-img {
    position: absolute;
    opacity: 0.85;
    pointer-events: none;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    font-size: 0 !important;
    color: transparent !important;
}


.bg-left-building {
    bottom: 0;
    left: 0;
    width: 400px;
    height: auto;
}

.bg-center-hand {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: auto;
    animation: floatHandSlow 5s ease-in-out infinite alternate;
}

.bg-right-house {
    bottom: 0;
    right: 0;
    width: 350px;
    height: auto;
}



@keyframes floatHandSlow {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(-14px); }
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.contact-hero-capsules {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.contact-hero-capsule {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #f1f5f9;
}

/* Two Column Layout */
.contact-section-layout {
    padding: 60px 0 80px;
    background: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-left-col {
    display: flex;
    flex-direction: column;
}

.contact-badge-label {
    display: inline-block;
    align-self: flex-start;
    background: #EEF4FF;
    color: #2E6BFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.contact-section-title {
    color: #0f172a;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-section-desc {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 36px;
}

.contact-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-weight: 500;
    font-size: 1rem;
}

.contact-checklist-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    min-height: 150px;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.contact-info-card:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.14);
}

.contact-info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.office-location-tag-light {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-card-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-card-line a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card-line a:hover {
    color: #2563eb;
}

.contact-card-line svg {
    margin-top: 3px;
    flex-shrink: 0;
    color: #2563eb;
}

/* Contact Form Card styling */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    padding: 32px;
    box-sizing: border-box;
}

.contact-form-card h3 {
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
}

.contact-form-card .form-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 32px;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    height: 46px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    background: #ffffff;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
    height: auto;
    padding: 12px 16px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    outline: none;
}

/* Country dropdown wrapper adjustment */
.contact-form .iti {
    width: 100%;
    display: block;
}

.contact-form .iti input[type="tel"] {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
}

.contact-form .iti__country-list {
    z-index: 100;
}

/* Fix intl-tel-input dial code overlap when switching countries */
.contact-form .iti--separate-dial-code .iti__selected-flag {
    background-color: transparent;
}

.contact-form .iti--separate-dial-code .iti__selected-dial-code {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    display: inline-block;
    max-width: 60px;
}

.contact-form .iti--separate-dial-code input[type="tel"] {
    padding-left: 100px !important;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #475569;
    user-select: none;
    margin-top: 4px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.contact-submit-btn {
    width: 100%;
    height: 50px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.contact-submit-btn span {
    transition: transform 0.2s ease;
}

.contact-submit-btn:hover span {
    transform: translateX(4px);
}

/* Form Validation Styling */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.form-group.has-error input:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

.form-error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 4px;
}

/* Why Choose Proptiqa Section */
.choose-proptiqa-section {
    background: #f8fafc;
    padding: 90px 0 100px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.choose-proptiqa-section .section-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.choose-proptiqa-section .section-header h2 {
    color: #0f172a;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.choose-proptiqa-section .section-header .section-desc {
    color: #475569;
    font-size: 1.05rem;
}

.choose-proptiqa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left-align content inside the Why Choose Proptiqa cards */
.choose-proptiqa-grid .feature-card {
    text-align: left;
}

.choose-proptiqa-grid .feature-icon-box {
    margin-right: auto;
    margin-left: 0;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .choose-proptiqa-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
    }
    .bg-left-building, .bg-right-house {
        width: 200px;
    }
    .bg-center-hand {
        width: 120px;
    }
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-hero {
        padding: 130px 20px 110px;
    }
    .contact-section-title {
        font-size: 2rem;
    }
    .contact-form-card {
        padding: 24px;
    }
    .bg-left-building, .bg-right-house, .bg-center-hand {
        display: none;
    }
}

/* ==========================================
   Thank You Page — Dark Hero Redesign
   ========================================== */

/* ---- Keyframe Animations ---- */
@keyframes ty-tick-pulse {
    0%   { transform: scale(1);    }
    50%  { transform: scale(1.09); }
    100% { transform: scale(1);    }
}

@keyframes ty-float {
    0%   { transform: translateY(0px);   }
    50%  { transform: translateY(-18px); }
    100% { transform: translateY(0px);   }
}

@keyframes ty-dot-blink {
    0%, 100% { opacity: 0.3; transform: scale(1);    }
    50%       { opacity: 1;   transform: scale(1.4); }
}

/* ---- Page base ---- */
body.page-template-page-thank-you {
    background-color: #f0f4f8;
}

/* ---- Header (same transparent-to-white behaviour as contact/pricing) ---- */
.page-template-page-thank-you .site-header.scrolled {
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.page-template-page-thank-you .site-header.scrolled .nav-list a,
.page-template-page-thank-you .site-header.scrolled .logo-text,
.page-template-page-thank-you .site-header.scrolled .btn-link,
.page-template-page-thank-you .site-header.scrolled .mobile-menu-toggle {
    color: #0f172a !important;
}
.page-template-page-thank-you .site-header.scrolled .logo a img,
.page-template-page-thank-you .site-header.scrolled .logo-link img {
    filter: none !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ty-hero {
    position: relative;
    background: linear-gradient(135deg, #02203c 0%, #0f172a 100%);
    color: #fff;
    padding: 140px 20px 160px;
    text-align: center;
    overflow: hidden;
}

/* -- Background buildings -- */
.ty-hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.ty-building {
    position: absolute;
    bottom: 0;
    max-height: 85%;
    width: auto;
    opacity: 0.18;
}

.ty-building-left {
    left: -30px;
    max-width: 340px;
}

.ty-building-right {
    right: -20px;
    max-width: 300px;
    animation: ty-float 5s ease-in-out infinite;
}

/* -- Decorative dots -- */
.ty-hero-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.ty-dot {
    position: absolute;
    border-radius: 50%;
    animation: ty-dot-blink 3s ease-in-out infinite;
}

/* -- Content -- */
.ty-hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    margin: 0 auto;
}

/* -- Center tick image -- */
.ty-tick-wrapper {
    margin-bottom: 28px;
    display: inline-block;
}

.ty-tick-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    animation: ty-tick-pulse 2.6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(59,130,246,0.35));
}

/* -- Heading -- */
.ty-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.ty-title-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -- Subtitle -- */
.ty-subtitle {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

/* -- Description -- */
.ty-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* -- Back to Home button -- */
.ty-cta {
    display: flex;
    justify-content: center;
}

.ty-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(59,130,246,0.9);
    border: 2px solid rgba(147,197,253,0.4);
    border-radius: 50px;
    color: #fff !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59,130,246,0.35);
    backdrop-filter: blur(8px);
}

.ty-home-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ty-home-btn:hover {
    background: #2563eb;
    border-color: rgba(147,197,253,0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59,130,246,0.55);
    color: #fff !important;
}

/* ============================================================
   WHAT HAPPENS NEXT SECTION  (overlaps hero bottom)
   ============================================================ */
.ty-next-section {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding: 0 20px 80px;
}

.ty-next-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
    padding: 60px 50px 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.ty-next-header {
    text-align: center;
    margin-bottom: 48px;
}

.ty-next-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.ty-next-desc {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* -- Step cards grid -- */
.ty-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ty-step-card {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 28px 28px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: default;
}

.ty-step-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: #bfdbfe;
    box-shadow: 0 16px 40px rgba(37,99,235,0.10);
}

/* Number badge */
.ty-step-badge {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

.ty-step-inner {
    display: flex;
    flex-direction: column;
}

/* Step icon */
.ty-step-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s ease;
}

.ty-step-card:hover .ty-step-icon {
    background: #2563eb;
}

.ty-step-icon svg {
    width: 24px;
    height: 24px;
    stroke: #2563eb;
    transition: stroke 0.3s ease;
}

.ty-step-card:hover .ty-step-icon svg {
    stroke: #ffffff;
}

.ty-step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ty-step-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .ty-title { font-size: 2.8rem; }
    .ty-building { opacity: 0.12; }
    .ty-building-left { max-width: 220px; left: -60px; }
    .ty-building-right { max-width: 200px; right: -60px; }
    .ty-steps-grid { grid-template-columns: 1fr; gap: 36px; }
    .ty-next-card { padding: 48px 28px 40px; }
}

@media (max-width: 600px) {
    .ty-hero { padding: 120px 20px 140px; }
    .ty-title { font-size: 2.2rem; }
    .ty-subtitle { font-size: 1.1rem; }
    .ty-tick-img { width: 90px; height: 90px; }
    .ty-building { display: none; }
    .ty-next-section { margin-top: -50px; }
    .ty-next-card { padding: 40px 20px 30px; border-radius: 16px; }
    .ty-next-title { font-size: 1.7rem; }
}




/* end of stylesheet */


/* ==========================================================================
   Product Preview Hover Zoom & CRM Crop Effects
   ========================================================================== */
.browser-content {
    overflow: hidden;
}
.tab-content {
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.tab-content img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
    width: 100%;
    height: auto;
}
.tab-content img:hover {
    transform: scale(1.04);
}

/* Crop the top of the CRM image (tab-1) which contains a duplicate header */
.tab-content.tab-1 img {
    margin-top: -4.5%; /* Mathematically matches the top header ratio relative to image width */
}

/* ==========================================================================
   Choose Proptiqa Contact Page Card Overrides
   ========================================================================== */
.choose-proptiqa-grid .feature-card.glass-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: default;
}

.choose-proptiqa-grid .feature-card.glass-card:hover {
    background: #ffffff;
    border-color: #bfdbfe;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37,99,235,0.08) !important;
}

/* Icon Box normal state - light blue for all cards */
.choose-proptiqa-grid .feature-icon-box {
    background: #eff6ff !important;
    color: #2563eb !important;
}

/* Icon Box active/hover state - solid blue for all cards */
.choose-proptiqa-grid .feature-card.glass-card:hover .feature-icon-box {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(37,99,235,0.2) !important;
}

/* ==========================================================================
   Blog Page Scrolled Header Overrides
   ========================================================================== */
body.page-template-page-blog .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

body.page-template-page-blog .site-header.scrolled .nav-list a {
    color: #1e293b !important;
}

body.page-template-page-blog .site-header.scrolled .mobile-menu-toggle {
    color: #1e293b !important;
}

.about-cta-section {
    background: #ffffff;
    padding: 80px 0 100px;
    position: relative;
}

.container-cta-wrapper {
    max-width: 1232px; /* 1200px card + padding on sides */
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.about-cta-card {
    width: 100%;
    max-width: 1200px;
    min-height: 520px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    overflow: visible; /* Let the large building graphic bleed outside! */
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 40px;
    align-items: center;
    padding: 48px 60px;
}

/* Background clipping wrapper */
.cta-card-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #021628 0%, #0c1222 100%);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

/* Grid Dots pattern */
.cta-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* Glowing background spheres */
.cta-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
}
.cta-glow-circle.circle-1 {
    width: 250px;
    height: 250px;
    background: #3b82f6;
    top: -80px;
    left: -80px;
}
.cta-glow-circle.circle-2 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    bottom: -100px;
    right: 50px;
}

.about-cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 5;
}

.about-cta-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.about-cta-content h2 {
    font-size: 2.6rem; /* reduced from 3.2rem to fit beautifully in 520px height */
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.about-cta-content h2 span {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-cta-desc {
    font-size: 0.95rem; /* slightly more compact */
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 580px;
}

/* Feature columns below description */
.about-cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    width: 100%;
}

.cta-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    margin-bottom: 10px;
}

.cta-feature-icon svg {
    width: 18px;
    height: 18px;
}

.cta-feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cta-feature-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

/* CTA actions block */
.about-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    transition: transform 0.25s, box-shadow 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(99, 102, 241, 0.45);
}

.btn-cta-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Bottom trust bar */
.about-cta-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
}

.about-cta-trust svg {
    color: #3b82f6;
}

/* Right Column Image styling with bleed and animation */
.about-cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    z-index: 5;
}

.cta-floater-img {
    width: 138%; /* Increased image size to make it significantly larger! */
    max-width: none;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.45));
    animation: smoothFloat 6s ease-in-out infinite;
    position: absolute;
    right: -30px; /* Shifted leftwards from -80px to reduce whitespace on the left side of the graphic */
    top: 50%;
}

@keyframes smoothFloat {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 15px));
    }
    100% {
        transform: translateY(-50%);
    }
}

/* ── RESPONSIVE MOBILE & TABLET GROUPING ── */
@media (max-width: 1199px) {
    .about-cta-card {
        padding: 40px 48px;
        grid-template-columns: 1.2fr 0.8fr;
    }
    .cta-floater-img {
        width: 140%;
        right: -10px;
    }
}

@media (max-width: 991px) {
    .why-cards-grid {
        grid-template-columns: 1fr;
    }
    .why-card-wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        height: auto;
    }
    .why-card {
        height: auto;
    }
    .why-card-wide .why-card-visual {
        align-self: center;
    }
    .values-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 1.5rem;
    }
    .values-timeline::before {
        display: none;
    }
    .about-cta-card {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding: 40px 32px;
        min-height: auto;
        max-width: 100%;
        margin: 0 16px;
        overflow: hidden; 
    }
    .cta-card-bg-wrap {
        border-radius: 20px;
    }
    .about-cta-content {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .about-cta-desc {
        max-width: 100%;
        margin-bottom: 24px;
    }
    .about-cta-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }
    .cta-feature-item {
        align-items: center;
    }
    .about-cta-actions {
        justify-content: center;
        width: 100%;
    }
    .about-cta-trust {
        justify-content: center;
        width: 100%;
    }
    .about-cta-visual {
        display: none; /* Hide visual column completely on mobile & tablet views! */
    }
}

@media (max-width: 1024px) {
    .story-comparison {
        grid-template-columns: 250px 140px 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero { padding:100px 20px 60px; }
    .about-hero h1 { font-size:2.2rem; }
    .about-hero-cta { flex-direction:column; align-items:center; }
    
    .story-comparison {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-column-group {
        width: 100%;
        gap: 20px;
    }

    .story-column-group.left-group { order: 1; }
    .story-column-group.center-group { order: 2; }
    .story-column-group.right-group { order: 3; }

    .story-svg-canvas { display:none; }
    .old-way-card::after { display:none; }
    .old-way-card { width: 100%; }

    .why-card-wide .why-card-visual img { max-height:140px; }
    .ecosystem-flow { flex-wrap:wrap; justify-content:center; gap:8px; }
    .eco-connector { display:none; }
    .why-proptiqa-section .section-header h2,.our-story-section .section-header h2 { font-size:2rem; }
    
    .values-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .value-bottom-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .about-cta-content h2 {
        font-size: 2.2rem;
    }
    .about-cta-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================================================
   NEW 4 PRICING CARDS REDESIGN STYLES
   =================================================================== */
.pricing-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    padding: 28px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    position: relative !important;
    height: 100% !important;
}

.pricing-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08) !important;
}

.pricing-card.featured-plan {
    border: 2px solid #2563eb !important;
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.12) !important;
}

.pricing-card .main-plan-badge {
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    padding: 5px 16px !important;
    border-radius: 20px !important;
    text-transform: uppercase !weight;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    white-space: nowrap !important;
    z-index: 5 !important;
}

.pricing-card .card-header {
    padding: 0 0 16px 0 !important;
    border-bottom: none !important;
    text-align: left !important;
}

.pricing-card .card-header-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 14px !important;
}

.pricing-card .card-tag {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
}

.pricing-card .card-icon-pill {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: #eff6ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.pricing-card .card-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.pricing-card .card-header .plan-desc {
    font-size: 0.88rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    min-height: unset !important;
}

.pricing-card .card-features {
    background: #f8fafc !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin: 10px 0 24px 0 !important;
    flex: 1 !important;
}

.pricing-card .card-features .features-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.pricing-card .card-features ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pricing-card .card-features li {
    font-size: 0.88rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding-left: 0 !important;
}

.pricing-card .card-features li::before {
    content: none !important;
}

.pricing-card .card-features li .check-icon {
    flex-shrink: 0 !important;
    margin-top: 3px !important;
}

.pricing-card .card-features li.ai-feature-highlight {
    background: #e0f2fe !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    color: #0284c7 !important;
    font-weight: 600 !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
}

.pricing-card .card-action {
    padding: 0 !important;
    margin-top: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.pricing-card .pricing-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    background: #2563eb !important;
    border: 1px solid #2563eb !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.pricing-card .pricing-btn:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

.pricing-card .pricing-btn-outline {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1.5px solid #2563eb !important;
    color: #2563eb !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.pricing-card .pricing-btn-outline:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

.pricing-cards-section {
    padding-top: 50px !important;
    margin-top: 10px !important;
}


