/* ============================================================
   VIETTEL SOFTWARE NEXTGEN — Main Stylesheet
   Primary color: #EE0033 (Viettel Red)
   ============================================================ */

/* ===== RESET & DESIGN TOKENS ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #ee0033;
  --red-dark: #c0002a;
  --red-soft: rgba(238, 0, 51, 0.08);
  --red-mid: rgba(238, 0, 51, 0.15);
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --black: #0d0d0d;

  --nav-h: 70px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .12);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, .16);
  --shadow-red: 0 8px 32px rgba(238, 0, 51, 0.28);

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .6s cubic-bezier(.4, 0, .2, 1);
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
}

strong {
  font-weight: 700;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== TYPE UTILITIES ===== */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(238, 0, 51, .15);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.8;
  margin-top: 14px;
}

.text-red {
  color: var(--red);
}

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

.mx-auto {
  margin-inline: auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(238, 0, 51, .38);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 100px;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red);
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(255, 255, 255, .22);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, .8);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: var(--transition);
}

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

/* ===== NAVBAR ===== */
#navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, .08);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--black);
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-logo-svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 8px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active-link {
  color: var(--red);
}

.nav-links a.active-link::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta .btn-primary {
  padding: 10px 22px;
  font-size: .85rem;
}

.nav-cta .btn-outline {
  padding: 9px 20px;
  font-size: .85rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-800);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  animation: slideDown .25s ease;
}

.mobile-menu.open {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  padding: 13px 16px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 10px;
}

.mobile-menu a:hover {
  background: var(--red-soft);
  color: var(--red);
}

.mobile-menu .btn-primary {
  margin-top: 8px;
  justify-content: center;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: .07;
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 0, 51, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 0, 51, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 40%, transparent 100%);
  z-index: 0;
}

.hero-gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(238, 0, 51, .12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: blob-move 8s ease-in-out infinite alternate;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(238, 0, 51, .07) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation: blob-move 10s ease-in-out infinite alternate-reverse;
}

@keyframes blob-move {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 20px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-soft);
  border: 1px solid rgba(238, 0, 51, .2);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 26px;
  letter-spacing: -.025em;
}

.hero-title .gradient-word {
  background: linear-gradient(135deg, var(--red) 0%, #ff4466 50%, #ff6633 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.stat-number span {
  color: var(--red);
}

.stat-label {
  font-size: .8rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-top: 5px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(238, 0, 51, .08) 0%,
      transparent 50%,
      rgba(0, 0, 0, .3) 100%);
}

/* Floating cards on hero image */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float-bob 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  bottom: 24px;
  left: -24px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  top: 24px;
  right: -20px;
  animation-delay: -2s;
}

@keyframes float-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hfc-icon {
  font-size: 1.8rem;
}

.hfc-label {
  font-size: .7rem;
  color: var(--gray-600);
  font-weight: 500;
}

.hfc-value {
  font-size: .92rem;
  color: var(--black);
  font-weight: 800;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 96px 0;
}

.section-header-center {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-center .section-sub {
  margin-inline: auto;
}

/* ===== ABOUT ===== */
#about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-bob 3.5s ease-in-out infinite;
  border: 1px solid var(--gray-200);
}

.about-img-badge-icon {
  font-size: 2rem;
}

.about-img-badge-text strong {
  display: block;
  font-size: .88rem;
  color: var(--black);
}

.about-img-badge-text span {
  font-size: .75rem;
  color: var(--gray-600);
}

.about-img-chip {
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-red);
  letter-spacing: .04em;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.about-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.about-item-icon {
  width: 44px;
  height: 44px;
  background: var(--red-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.about-item-text h4 {
  font-weight: 700;
  font-size: .95rem;
  color: var(--black);
  margin-bottom: 4px;
}

.about-item-text p {
  font-size: .84rem;
  color: var(--gray-600);
}

/* ===== FIELDS ===== */
#fields {
  background: var(--white);
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 0;
}

.field-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  overflow: hidden;
  cursor: default;
}

.field-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-soft) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.field-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.field-card:hover::before {
  opacity: 1;
}

.field-card.featured {
  background: linear-gradient(135deg, var(--red) 0%, #cc002b 100%);
  border-color: transparent;
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 40px;
}

.field-card.featured::before {
  display: none;
}

.field-img-wrap {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.field-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field-card-body {
  flex: 1;
}

.field-card-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  display: block;
}

.field-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}

.field-card.featured .field-card-title {
  color: #fff;
  font-size: 1.5rem;
}

.field-card-desc {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 18px;
}

.field-card.featured .field-card-desc {
  color: rgba(255, 255, 255, .8);
}

.field-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.field-tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--red-soft);
  color: var(--red);
}

.field-card.featured .field-tag {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.field-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(238, 0, 51, .055);
  line-height: 1;
}

/* ===== ROADMAP ===== */
#roadmap {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.roadmap-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/roadmap-bg.png');
  background-size: cover;
  background-position: center;
  opacity: .04;
  z-index: 0;
}

.roadmap-inner {
  position: relative;
  z-index: 1;
}

.roadmap-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red) 0%, rgba(238, 0, 51, .1) 100%);
}

.roadmap-step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}

.roadmap-step:last-child {
  padding-bottom: 0;
}

.step-dot {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}

.step-dot-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 0 8px rgba(238, 0, 51, .08);
  transition: var(--transition);
}

.roadmap-step:hover .step-dot-inner {
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(238, 0, 51, .12), var(--shadow-red);
}

.step-content {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 12px;
  position: relative;
  transition: var(--transition);
}

.roadmap-step:hover .step-content {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: 6px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.step-desc {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.step-arrow {
  position: absolute;
  right: 24px;
  top: 28px;
  font-size: 1rem;
  color: var(--red);
  opacity: 0;
  transition: var(--transition);
}

.roadmap-step:hover .step-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* ===== IMS ===== */
#ims {
  background: var(--white);
}

.ims-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.ims-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.ims-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.ims-feature:hover {
  border-left-color: var(--red);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.ims-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.ims-feature h4 {
  font-weight: 700;
  font-size: .9rem;
  color: var(--black);
  margin-bottom: 4px;
}

.ims-feature p {
  font-size: .82rem;
  color: var(--gray-600);
}

/* IMS Image Visual */
.ims-visual-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.ims-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--gray-200);
}

.ims-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.ims-stat {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}

.ims-stat:hover {
  border-color: var(--red);
  background: var(--white);
}

.ims-stat-value {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--black);
}

.ims-stat-value em {
  color: var(--red);
  font-style: normal;
}

.ims-stat-label {
  font-size: .7rem;
  color: var(--gray-600);
  margin-top: 2px;
}

/* ===== BENEFITS ===== */
#benefits {
  background: var(--off-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b35);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

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

.benefit-card:hover::after {
  transform: scaleX(1);
}

.benefit-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: block;
  line-height: 1;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== CTA ===== */
#cta {
  position: relative;
  padding: 112px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/cta-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, .88) 0%,
      rgba(20, 0, 5, .9) 40%,
      rgba(100, 0, 20, .8) 100%);
  z-index: 1;
}

.cta-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 0, 51, .2) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: .7;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.cta-content {
  position: relative;
  z-index: 3;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}

.cta-title .highlight {
  background: linear-gradient(135deg, var(--red) 0%, #ff4466 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 48px;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-contact {
  margin-top: 36px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .4);
}

.cta-contact a {
  color: rgba(238, 0, 51, .9);
  font-weight: 600;
}

.cta-contact a:hover {
  color: var(--red);
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: rgba(255, 255, 255, .65);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.footer-desc {
  font-size: .85rem;
  line-height: 1.85;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  color: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .1);
}

.social-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.footer-col h5 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--red);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .28);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .4);
}

.footer-bottom a:hover {
  color: var(--red);
}

/* ===== SCROLL TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  background: var(--red-dark);
  transform: translateY(-4px);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}

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

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .fields-grid { grid-template-columns: 1fr 1fr; }
  .field-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .ims-stats-row { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 991px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .about-grid, .ims-inner { grid-template-columns: 1fr; gap: 40px; }
  .ims-visual-wrap { position: static; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-title br { display: none; }
  .hero-sub   { font-size: .98rem; }
  .stat-number { font-size: 1.6rem; }
  .hero-float-card.card-1 { left: 0; bottom: 12px; }
  .hero-float-card.card-2 { right: 0; top: 12px; }
  .fields-grid { grid-template-columns: 1fr; }
  .field-card.featured { grid-column: span 1; flex-direction: column; gap: 20px; }
  .field-img-wrap { width: 80px; height: 80px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #cta { padding: 72px 0; }
  .cta-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .roadmap-timeline::before { left: 36px; }
  .step-dot-inner { width: 72px; height: 72px; font-size: 1.5rem; }
  .about-img-badge { bottom: -12px; right: 12px; }
}

@media (max-width: 576px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions a { width: 100%; justify-content: center; text-align: center; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-actions a { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-float-card { display: none; }
  .about-img-badge { bottom: 10px; right: 10px; padding: 10px 14px; gap: 8px; }
  .about-img-badge-icon { font-size: 1.5rem; }
  .about-img-badge-text strong { font-size: 0.78rem; }
  .about-img-badge-text span { font-size: 0.68rem; }
  .field-card { padding: 24px 20px; }
  .field-card.featured .field-card-title { font-size: 1.25rem; }
  .roadmap-timeline::before { left: 20px; }
  .roadmap-step { gap: 12px; padding-bottom: 28px; }
  .step-dot-inner { width: 40px; height: 40px; font-size: 1.1rem; box-shadow: 0 0 0 4px rgba(238,0,51,.08); }
  .roadmap-step:hover .step-dot-inner { box-shadow: 0 0 0 6px rgba(238,0,51,.12), var(--shadow-red); }
  .step-content { padding: 16px 20px; margin-top: 0; }
  .step-title { font-size: 1.05rem; }
  .step-desc { font-size: 0.82rem; }
  .step-arrow { display: none; }
  .ims-stats-row { grid-template-columns: 1fr 1fr; }
  .ims-stat { padding: 12px 8px; }
  .ims-stat-value { font-size: 1.2rem; }
  .ims-stat-label { font-size: 0.65rem; }
  .ims-feature { padding: 14px 16px; gap: 12px; }
  .ims-feature-icon { width: 38px; height: 38px; font-size: 16px; }
  .ims-feature h4 { font-size: 0.85rem; }
  .ims-feature p { font-size: 0.78rem; }
}