:root {
  /* Strict Color Palette */
  --color-red: #B03828;
  --color-charcoal: #2C3C4B;
  --color-grey: #BBC0C3;
  --color-teal: #17B292;
  --color-blue: #3994CB;
  --color-white: #FEFEFE;

  /* Glass / Liquid UI variables */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(44, 60, 75, 0.08);
  --glass-shadow-hover: 0 12px 48px 0 rgba(44, 60, 75, 0.12);
  --glass-blur: blur(16px);

  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 6rem;

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;

  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Background atmospheric blur elements */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background-color: var(--color-teal);
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background-color: var(--color-blue);
  animation-delay: -10s;
}

.blob-3 {
  top: 40%;
  left: 30%;
  width: 40vw;
  height: 40vw;
  background-color: var(--color-grey);
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-50px) scale(1.1);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-charcoal);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
  color: #516270;
}

a {
  text-decoration: none;
  color: var(--color-teal);
  transition: var(--transition-smooth);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Glass UI Elements */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 2.5rem 2rem;
  /* Reduced from 4rem for better mobile default */
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glass-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-8px);
  border-color: rgba(57, 148, 203, 0.3);
  backdrop-filter: blur(24px);
}

/* Premium / Dynamic Glass */
.glass-premium {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 1;
}

.glass-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1), rgba(57, 148, 203, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition-premium);
}

.glass-premium:hover::before {
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  opacity: 0.6;
}

/* Staggered Animations */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

/* Subtle Floating */
.float-anim {
  animation: floating 6s infinite ease-in-out;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(44, 60, 75, 0.39);
}

.btn-primary:hover {
  background-color: #1A2531;
  box-shadow: 0 6px 20px rgba(44, 60, 75, 0.23);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-blur);
  color: var(--color-charcoal);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 14px 0 rgba(44, 60, 75, 0.08);
}

.btn-secondary:hover {
  background: var(--color-white);
  box-shadow: 0 6px 20px rgba(44, 60, 75, 0.12);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-charcoal);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: rgba(44, 60, 75, 0.05);
  color: var(--color-blue);
}

/* Compact Nav Buttons */
.btn-nav {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md) 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(187, 192, 195, 0.2);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-teal);
  border-radius: 50%;
  display: inline-block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.lang-switcher {
  display: flex;
  background: rgba(187, 192, 195, 0.15);
  border-radius: var(--border-radius-pill);
  padding: 3px;
  border: 1px solid rgba(44, 60, 75, 0.05);
  height: 38px;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 5px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background: var(--color-white);
  color: var(--color-teal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Layout Utilities */
section {
  padding: var(--spacing-2xl) 0;
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(23, 178, 146, 0.1);
  color: var(--color-teal);
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-md);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  /* offset for navbar */
  position: relative;
  overflow: hidden;
}

/* Animated Pure CSS Backgrounds replacing images */
.glass-hero {
  position: relative;
  overflow: hidden;
}

.glass-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(57, 148, 203, 0.15) 0%, rgba(254, 254, 254, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-slow 15s infinite alternate ease-in-out;
}

.glass-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(23, 178, 146, 0.12) 0%, rgba(254, 254, 254, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-slow 18s infinite alternate-reverse ease-in-out;
}

.mvp-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(23, 178, 146, 0.08) 0%, rgba(254, 254, 254, 0.4) 40%, rgba(254, 254, 254, 1) 100%);
  z-index: -1;
  overflow: hidden;
}

.mvp-gradient-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 100vw;
  height: 100vw;
  background: radial-gradient(circle, rgba(57, 148, 203, 0.06) 0%, rgba(254, 254, 254, 0) 60%);
  border-radius: 50%;
  animation: rotate-slow 30s linear infinite;
}

@keyframes pulse-slow {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.2) translate(30px, -30px);
    opacity: 1;
  }
}

@keyframes rotate-slow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--color-blue);
  font-weight: 500;
  margin-bottom: var(--spacing-lg);
}

.hero-btn-group {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-xl);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  align-items: stretch;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  align-items: stretch;
}

/* Utilities */
.flex-1 {
  flex: 1;
}

.align-center {
  align-items: center;
}

/* Data Cards */
.stat-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: var(--spacing-sm);
  display: block;
}

.stat-desc {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-charcoal);
}

.stat-premium-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 20px 10px rgba(255, 255, 255, 0.1);
  /* Adjusted alpha from 1 to 0.1 to maintain transparency in center */
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-premium);
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.stat-premium-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
  z-index: 3;
}

.stat-premium-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.8),
      transparent,
      rgba(255, 255, 255, 0.3));
  z-index: 3;
}

.stat-premium-box:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.stat-premium-box .stat-value {
  font-size: 1.85rem !important;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem !important;
  color: var(--color-charcoal) !important;
  position: relative;
  z-index: 4;
}

.stat-premium-box .stat-desc-inline {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-charcoal);
  font-weight: 500;
  opacity: 0.85;
  max-width: 190px;
  margin: 0 auto;
  position: relative;
  z-index: 4;
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stat-premium-box .om-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  opacity: 0.08;
  pointer-events: none;
  color: var(--color-charcoal);
  z-index: 1;
}

/* Feature Grid */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

/* Target Users Layout */
.target-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  border: 1px solid var(--glass-border);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-charcoal);
  transition: var(--transition-smooth);
}

.target-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow);
}

.target-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
}

/* Final CTA */
.cta-section {
  text-align: center;
  padding-top: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
  position: relative;
}

/* Footer */
footer {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid rgba(187, 192, 195, 0.3);
  background: var(--color-white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-charcoal);
  font-weight: 500;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-weight: 500;
  color: var(--color-charcoal);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(44, 60, 75, 0.15);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-charcoal);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--color-blue);
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(57, 148, 203, 0.08);
}

.form-input::placeholder {
  color: var(--color-grey);
  opacity: 0.7;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  :root {
    --spacing-2xl: 4rem;
    --spacing-xl: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .glass-card {
    padding: 2rem 1.5rem;
    /* Compact padding for small screens */
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btn-group .btn {
    width: 100%;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-btn-group {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-right {
    text-align: center;
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .nav-actions .btn {
    display: none;
    /* Hide top CTA on mobile */
  }
}