/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #222;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════
   HERO  — white bg, big bold title, blob top-right
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 300px;
  background: #F6F9FE;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 !important;

  /* Fix for fixed navbar */
  margin-top: 106px !important;
  /* top-bar (36px) + main navbar (70px) */
  padding-top: 0;
}

/* Overlay so text is clearly readable over background image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(35, 116, 231, 0.45), rgba(1, 31, 83, 0.65));
  z-index: 1;
}

/* Make sure background image covers properly */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Text must sit above overlay */
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.hero-text h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   CARDS SECTION
═══════════════════════════════════════════════ */
.cards-section {
  padding: 40px 50px 40px;
  background: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 auto;
}

.card {
  background: #eef4fd;
  border-radius: 16px;
  border: 1.5px solid #c2d8f8;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
  margin-top: 28px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(35, 116, 231, 0.15);
  border-color: #2374e7;
}

.card-icon-wrap {
  position: absolute;
  font-size: 15px;
  top: -22px;
  right: 20px;
  width: 46px;
  height: 46px;
  background: #2374e7;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(35, 116, 231, 0.38);
}

.card-icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-body {
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 19px;
  font-weight: 600;
  color: #0f1f3d;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-desc {
  font-size: 13.5px;
  color: #4a5a78;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #2374e7;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: gap 0.2s ease;
  outline: none !important;
}

.card-readmore:hover {
  gap: 10px;
}

.card-readmore svg {
  width: 14px;
  height: 14px;
  stroke: #2374e7;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.card-readmore:hover svg {
  transform: translateX(3px);
}

.card-photo-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #c5d9f7 0%, #a3c2f5 100%);
  border-radius: 0 0 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-photo-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-photo-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
  stroke: #1a4fa0;
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 22, 0.80);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #1e1a35;
  border-radius: 20px;
  padding: 44px 40px 40px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4,0.2,0.2,1);
  scrollbar-width: thin;
  scrollbar-color: #93D095 transparent;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover { color: #A2D99F; }

.modal-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.2;
}

.modal-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.modal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.modal-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #A2D99F;
  margin-bottom: 8px;
}

.modal-section-head .em { font-size: 16px; }

.modal-section-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
}

@media (max-width: 600px) {
  .modal-box { padding: 32px 22px 28px; }
  .modal-title { font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   CORE FEATURES PAGE
═══════════════════════════════════════════════════════════ */

/* ── Layout ── */
.cf-section {
  background: #ffffff;
  padding: 72px 40px 96px;
}

.cf-container {
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* ── Sidebar ── */
.cf-sidebar {
  flex-shrink: 0;
  width: 230px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Search */
.cf-search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.cf-search-wrap input {
  width: 100%;
  height: 38px;
  border: 1.5px solid #dde6f5;
  border-radius: 8px;
  padding: 0 12px 0 34px;
  font-size: 13px;
  color: #0f1f3d;
  background: #f4f8ff;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.cf-search-wrap input:focus {
  border-color: #2374E7;
  background: #fff;
}

.cf-search-wrap input::placeholder {
  color: #9ab0cc;
}

.cf-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: #9ab0cc;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

/* Group */
.cf-group {
  margin-bottom: 6px;
}

.cf-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  cursor: pointer;
  user-select: none;
  border-radius: 6px;
  transition: background 0.15s;
  margin-bottom: 4px;
}

.cf-group-toggle:hover {
  background: #f0f5ff;
}

.cf-group-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #7a94b8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.cf-group-chevron {
  width: 13px;
  height: 13px;
  stroke: #9ab0cc;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cf-group.open .cf-group-chevron {
  transform: rotate(90deg);
}

/* Group body collapse */
.cf-group-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cf-group.open .cf-group-body {
  max-height: 800px;
}

/* Sidebar items — keep your existing style, just add to it */
.cf-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #375281;
  cursor: none;
  transition: all 0.2s;
  background: transparent;
  border: none;
  outline: none !important;
  width: 100%;
  text-align: left;
}

.cf-sidebar-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cf-sidebar-item:hover {
  background: #F6F9FE;
  color: #2374E7;
}

.cf-sidebar-item.active {
  background: #F6F9FE;
  color: #2374E7;
  font-weight: 700;
}

.cf-sidebar-item .cf-arrow {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
  flex-shrink: 0;
}

.cf-sidebar-item.active .cf-arrow {
  background: #2374E7;
}

.cf-sidebar-item .cf-arrow svg {
  width: 10px;
  height: 10px;
  stroke: #375281;
  stroke-width: 2.5;
  fill: none;
}

.cf-sidebar-item.active .cf-arrow svg {
  stroke: #fff;
}

/* No results */
.cf-no-results {
  font-size: 12px;
  color: #9ab0cc;
  padding: 16px 8px;
  text-align: center;
  display: none;
}

/* ── Content Panel ── */
.cf-panel {
  flex: 1;
  min-width: 0;
}

.cf-block {
  display: none;
}

.cf-block.active {
  display: block;
}

/* ══ BLOCK HEADER ══ */
.cf-block-header {
  margin-bottom: 48px;
}

.cf-block-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2374E7;
  background: #F6F9FE;
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.cf-block-title {
  font-size: 34px;
  font-weight: 700;
  color: #011F53;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.cf-block-sub {
  font-size: 15px;
  color: #375281;
  line-height: 1.7;
  margin: 0;
}

/* ══ SPLIT ROWS ══ */
.cf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
  align-items: center;
}

.cf-split.reverse { direction: rtl; }
.cf-split.reverse > * { direction: ltr; }

/* ── Image pane ── */
.cf-img-pane {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  height: 410px;
}

.cf-img-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Decorative number badge */
.cf-img-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accent stripe on image pane */
.cf-img-pane::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  z-index: 2;
  border-radius: 0;
}

/* ── Text pane ── */
.cf-text-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-lead-box {
  background: #F6F9FE;
  border-radius: 16px;
  padding: 24px 26px;
}

.cf-lead-box .cf-lead-title {
  font-size: 15px;
  font-weight: 700;
  color: #011F53;
  margin-bottom: 8px;
}

.cf-lead-box .cf-lead-text {
  font-size: 13.5px;
  color: #375281;
  line-height: 1.75;
  margin: 0;
}

/* ── Feature cards ── */
.cf-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cf-feat {
  background: #F6F9FE;
  border: 1px solid #2374E7;
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cf-feat:hover {
  border-color: rgba(35,116,231,0.3);
  box-shadow: 0 4px 20px rgba(35,116,231,0.07);
}

.cf-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}

.cf-feat-head {
  font-size: 13px;
  font-weight: 700;
  color: #011F53;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cf-feat-text {
  font-size: 12.5px;
  color: #375281;
  line-height: 1.65;
  margin: 0;
}

/* ── Full-width highlight row ── */
.cf-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, #0D2D6E 100%);
  border-radius: 20px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.cf-highlight::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(35,116,231,0.2);
}

.cf-highlight-text .cf-hl-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.cf-highlight-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.cf-highlight-text p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0;
}

.cf-highlight-badge {
  flex-shrink: 0;
  background: rgba(15,206,174,0.15);
  border: 1px solid rgba(15,206,174,0.35);
  border-radius: 14px;
  padding: 20px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cf-highlight-badge .big-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.cf-highlight-badge .big-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* ── Bullet list items ── */
.cf-item {
  background: #F6F9FE;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.cf-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.06); }

.cf-item-head {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: 700;
  color: #011F53;
  margin-bottom: 8px;
}

.cf-item-em {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cf-item-text {
  font-size: 13.5px;
  color: #375281;
  line-height: 1.75;
  margin: 0;
}

.cf-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf-bullets {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.cf-bullet-dot {
  flex-shrink: 0;
  margin-top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2374E7;
  display: inline-block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cf-container {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .cf-sidebar {
    width: 100%;
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cf-section {
    padding: 40px 20px 60px;
  }
  .cf-split { grid-template-columns: 1fr; }
  .cf-split.reverse { direction: ltr; }
  .cf-highlight { grid-template-columns: 1fr; }
  .cf-highlight-badge { display: none; }
  .cf-feat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .cf-mini-grid {
    grid-template-columns: 1fr;
  }

  .cf-block-title {
    font-size: 22px;
  }
}

/* ═══════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════ */
.faq-section {
  background: #fff;
  padding: 80px 40px 96px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 52px;
}

.faq-header h2 {
  font-size: 38px;
  font-weight: 800;
  color: #222;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.faq-header p {
  font-size: 15px;
  color: #888;
  line-height: 1.65;
}

.faq-header span {
  color: #93D095;
}

.faq-item {
  background: #f7f8fa;
  border-radius: 14px;
  margin-bottom: 12px;
  border: 1px solid #e8ecf0;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.faq-item.open {
  border-color: #93D095;
  box-shadow: 0 6px 24px rgba(147, 208, 149, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  text-align: left;
}

.faq-question-text {
  font-size: 15px;
  font-weight: 600;
  color: #1e1a35;
  line-height: 1.45;
  transition: color 0.2s;
}

.faq-item.open .faq-question-text {
  color: #2d7a32;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.35s cubic-bezier(0.4,0.2,0.2,1);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: #93D095;
  stroke-width: 2.5;
  fill: none;
  transition: stroke 0.2s;
}

.faq-item.open .faq-icon {
  background: #93D095;
  transform: rotate(45deg);
}

.faq-item.open .faq-icon svg {
  stroke: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0.2,0.2,1), padding 0.3s;
  padding: 0 26px;
}

.faq-answer-inner {
  font-size: 13.5px;
  color: #555;
  line-height: 1.8;
  padding-bottom: 22px;
  border-top: 1px solid #e8ecf0;
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 26px;
}

@media (max-width: 600px) {
  .faq-section { padding: 48px 20px 64px; }
  .faq-header h2 { font-size: 26px; }
  .faq-question { padding: 18px 18px; }
  .faq-answer { padding: 0 18px; }
  .faq-item.open .faq-answer { padding: 0 18px; }
}

.product-hero{
  background-image: url("/assets/img/hero-img/product-hero.png");
  object-fit: cover;
}

.core-feature-hero {
  background-image: url('/assets/img/hero-img/core-hero.png');
  object-fit: cover;
}

.collaboration-hero {
  background-image: url('/assets/img/hero-img/collaboration.png');
  object-fit: cover;
  background-position: top !important;
}

.integration-hero {
  background-image: url('/assets/img/hero-img/integration.png');
  object-fit: cover;
  background-position: top !important;
}

.security-hero {
  background-image: url('/assets/img/hero-img/security.png');
  object-fit: cover;
}