/* =========================================
   INNER PAGES — modern unified styling
   Matches home page design language
   ========================================= */

/* ==========================================================
   PAGE HERO — used for all inner page top banners
   ========================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #04102e 0%, #0d2260 55%, #1a0a4a 100%);
  padding: 100px 0 70px;
  margin-bottom: 0;
  overflow: hidden;
  color: #fff;
}
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::before {
  width: 460px; height: 460px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(27,101,255,0.22), transparent 70%);
}
.page-hero::after {
  width: 380px; height: 380px;
  bottom: -120px; right: -80px;
  background: radial-gradient(circle, rgba(95,39,255,0.22), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(147,197,253,0.12);
  border: 1px solid rgba(147,197,253,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.page-hero-eyebrow i { font-size: 0.7rem; }
.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 0 0 18px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 22px;
}
.page-hero-stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.page-hero-stats .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(6px);
}
.page-hero-stats .chip i { color: #93c5fd; }

/* ==========================================================
   SCREENSHOTS PAGE
   ========================================================== */
#screenshots { background: #f7f9fc; padding-bottom: 90px; }
#screenshots .container > h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin: 36px 0 22px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
#screenshots .container > h2::after {
  content: '';
  display: block;
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--siteColor), var(--siteHoverColor));
  border-radius: 2px;
  margin: 10px auto 0;
}

/* Screenshot card — modern hover with gradient overlay + zoom icon */
#screenshots .card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.32s cubic-bezier(0.34,1.3,0.64,1),
              box-shadow 0.32s ease,
              border-color 0.32s ease;
  height: 100%;
}
#screenshots .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(27,101,255,0.18);
  border-color: transparent;
}

/* Image area */
#screenshots .card-image {
  position: relative;
  background: #f3f4f6;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
#screenshots .card-image .thumb-image {
  display: block;
  position: relative;
  overflow: hidden;
}
#screenshots .card-image img:not(.zoom) {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
#screenshots .card:hover .card-image img:not(.zoom) { transform: scale(1.08); }

/* Gradient overlay (bottom dark fade for label visibility) */
#screenshots .card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
              rgba(27,101,255,0) 0%,
              rgba(27,101,255,0) 40%,
              rgba(27,101,255,0.65) 100%);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
  z-index: 1;
}
#screenshots .card:hover .card-image::before { opacity: 1; }

/* Zoom icon — modern white pill with FA magnifying glass */
#screenshots .card-image .zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6) rotate(-15deg);
  width: 60px !important;
  height: 60px !important;
  background: #fff;
  border-radius: 50%;
  padding: 0 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25),
              0 0 0 8px rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity 0.35s ease,
              transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 2;
  /* hide original blue icon */
  visibility: hidden;
}
#screenshots .card-image .thumb-image::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 60px;
  height: 60px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b65ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='6'/><line x1='15.5' y1='15.5' x2='20' y2='20'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>") center / 26px 26px no-repeat;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.5) rotate(-15deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3),
              0 0 0 6px rgba(255,255,255,0.25);
  opacity: 0;
  transition: opacity 0.35s ease,
              transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 3;
  pointer-events: none;
}
#screenshots .card:hover .card-image .thumb-image::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

/* "View" caption that slides up at bottom on hover */
#screenshots .card-image .thumb-image::before {
  content: 'Click to enlarge';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255,255,255,0.95);
  color: #1f2937;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.35s ease 0.05s,
              transform 0.35s cubic-bezier(0.4,0,0.2,1) 0.05s;
  z-index: 3;
  white-space: nowrap;
  pointer-events: none;
}
#screenshots .card:hover .card-image .thumb-image::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Body ---- */
#screenshots .card-body {
  padding: 16px 18px;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  transition: background 0.28s ease;
}
#screenshots .card:hover .card-body {
  background: linear-gradient(135deg, #f7f9fc 0%, #eff6ff 100%);
}
#screenshots .card-body h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  text-align: center;
  line-height: 1.3;
  transition: color 0.22s ease;
}
#screenshots .card:hover .card-body h5 { color: var(--siteColor); }

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact-page-wrap { background: #f7f9fc; padding: 60px 0 90px; }
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  padding: 22px 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(27,101,255,0.08);
  border-color: #c7d2fe;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--siteColor), var(--siteHoverColor));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-info-body { flex: 1; min-width: 0; }
.contact-info-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  letter-spacing: 0.1px;
}
.contact-info-body p,
.contact-info-body address {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 4px;
  font-style: normal;
}
.contact-info-body a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-info-body a:hover { color: var(--siteColor); }
.contact-info-body p i { color: var(--siteColor); margin-right: 4px; }

/* Form card */
.contact-form-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contact-form-card .card-body { padding: 0 !important; }

/* Polish Angular form WITHOUT adding extra inner border (was creating doubled border) */
.contact-form-card label { font-weight: 600; font-size: 0.88rem; color: #374151; }
.contact-form-card button[type="submit"],
.contact-form-card .btn-primary {
  background: linear-gradient(135deg, var(--siteColor), var(--siteHoverColor)) !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 11px 26px !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 18px rgba(27,101,255,0.28);
}

/* Flatten Angular Material form-field inner borders (kill the inner ring) */
.contact-form-card .mat-form-field-outline,
.contact-form-card .mat-mdc-form-field-outline,
.contact-form-card .mdc-notched-outline,
.contact-form-card .mdc-notched-outline__leading,
.contact-form-card .mdc-notched-outline__notch,
.contact-form-card .mdc-notched-outline__trailing,
.contact-form-card .mat-mdc-text-field-wrapper .mdc-line-ripple,
.contact-form-card .mat-mdc-form-field-flex,
.contact-form-card .mat-mdc-form-field-infix {
  border: 0 !important;
  box-shadow: none !important;
}
/* Hide the inner Material outline entirely so only the outer field border shows */
.contact-form-card .mat-mdc-text-field-wrapper .mdc-notched-outline > * {
  border-color: transparent !important;
}
/* Raw input / select inside Angular wrapper — no inner border */
.contact-form-card input.mat-mdc-input-element,
.contact-form-card input.mat-input-element,
.contact-form-card .mat-mdc-select-trigger,
.contact-form-card .mdc-text-field__input {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ==========================================================
   DEMO PAGE — same layout structure as contact
   ========================================================== */
.demo-page-wrap { background: #f7f9fc; padding: 60px 0 90px; }
.demo-video-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  height: 100%;
}
.demo-video-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  text-align: center;
}
.demo-video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.demo-video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.demo-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
}
.demo-bullets i {
  color: #10b981;
  font-size: 0.95rem;
  margin-top: 2px;
}

/* ==========================================================
   PLAN PAGE - premium comparison table
   ========================================================== */
.plan-wrap { background: #f7f9fc; padding: 70px 0; }

/* Intro heading */
.plan-intro { margin-bottom: 36px; }
.plan-intro h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.plan-intro p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 18px;
}
.plan-intro-line {
  display: inline-block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #6d28d9, #a78bfa);
  border-radius: 2px;
}

/* ---- Modern variant ---- */
.os-plan.os-plan--modern {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  position: relative;
  padding-top: 22px;          /* room for BEST VALUE badge */
}
.os-plan.os-plan--modern > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Each row - no row-level border (we use cell borders instead so the BEST VALUE column stays continuous) */
.os-plan.os-plan--modern > ul > li { display: block; position: relative; }

/* Cell-level bottom border on non-highlighted cells only */
.os-plan.os-plan--modern > ul > li:not(.osp-header-row):not(:last-child) > ul > li:not(:nth-child(2)) {
  border-bottom: 1px solid #f0f1f5;
}

/* ---- Modern table: cells & layout ---- */
.os-plan.os-plan--modern > ul > li > ul {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: stretch;
}

/* Each cell */
.os-plan.os-plan--modern > ul > li > ul > li {
  padding: 22px 18px;
  font-size: 0.92rem;
  color: #4b5563;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  background: #fff;
  border: 0;
  position: relative;
  transition: background 0.2s ease;
}
/* All cells get smooth transitions for column-hover effects */
.os-plan.os-plan--modern > ul > li > ul > li {
  transition: background 0.22s ease,
              border-color 0.22s ease,
              border-radius 0.22s ease;
}

/* ===========================================================
   FULL-COLUMN HOVER — :has() selector highlights entire column
   Each product gets its own brand color.
   =========================================================== */

/* ----- Column 3 (Upwrkz) — GREEN ----- */
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(3):hover) > li.osp-header-row > ul > li:nth-child(3) {
  background: #ecfdf5 !important;
  border-top: 2.5px solid #059669 !important;
  border-left: 2.5px solid #059669 !important;
  border-right: 2.5px solid #059669 !important;
  border-radius: 14px 14px 0 0;
}
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(3):hover) > li:not(.osp-header-row):not(:last-child) > ul > li:nth-child(3) {
  background: #ecfdf5 !important;
  border-left: 2.5px solid #059669 !important;
  border-right: 2.5px solid #059669 !important;
}
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(3):hover) > li:last-child > ul > li:nth-child(3) {
  background: #ecfdf5 !important;
  border-left: 2.5px solid #059669 !important;
  border-right: 2.5px solid #059669 !important;
  border-bottom: 2.5px solid #059669 !important;
  border-radius: 0 0 14px 14px;
}

/* ----- Column 4 (Gigs / Fiverr) — BLUE ----- */
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(4):hover) > li.osp-header-row > ul > li:nth-child(4) {
  background: #eff6ff !important;
  border-top: 2.5px solid #2563eb !important;
  border-left: 2.5px solid #2563eb !important;
  border-right: 2.5px solid #2563eb !important;
  border-radius: 14px 14px 0 0;
}
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(4):hover) > li:not(.osp-header-row):not(:last-child) > ul > li:nth-child(4) {
  background: #eff6ff !important;
  border-left: 2.5px solid #2563eb !important;
  border-right: 2.5px solid #2563eb !important;
}
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(4):hover) > li:last-child > ul > li:nth-child(4) {
  background: #eff6ff !important;
  border-left: 2.5px solid #2563eb !important;
  border-right: 2.5px solid #2563eb !important;
  border-bottom: 2.5px solid #2563eb !important;
  border-radius: 0 0 14px 14px;
}

/* ----- Column 5 (MyBuilder) — ORANGE ----- */
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(5):hover) > li.osp-header-row > ul > li:nth-child(5) {
  background: #fff7ed !important;
  border-top: 2.5px solid #ea580c !important;
  border-left: 2.5px solid #ea580c !important;
  border-right: 2.5px solid #ea580c !important;
  border-radius: 14px 14px 0 0;
}
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(5):hover) > li:not(.osp-header-row):not(:last-child) > ul > li:nth-child(5) {
  background: #fff7ed !important;
  border-left: 2.5px solid #ea580c !important;
  border-right: 2.5px solid #ea580c !important;
}
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(5):hover) > li:last-child > ul > li:nth-child(5) {
  background: #fff7ed !important;
  border-left: 2.5px solid #ea580c !important;
  border-right: 2.5px solid #ea580c !important;
  border-bottom: 2.5px solid #ea580c !important;
  border-radius: 0 0 14px 14px;
}

/* On column hover, fade the feature label background slightly to draw eye to the column */
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(3):hover) > li > ul > li.osp-feat,
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(4):hover) > li > ul > li.osp-feat,
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(5):hover) > li > ul > li.osp-feat {
  background: #fafbff !important;
}

/* ===========================================================
   When ANOTHER column is hovered, neutralise the BEST VALUE
   styling on column 2 so only one column is highlighted at a time.
   =========================================================== */

/* Header cell of BEST VALUE column - reset elevation + purple border */
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(3):hover) > li.osp-header-row > ul > li:nth-child(2),
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(4):hover) > li.osp-header-row > ul > li:nth-child(2),
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(5):hover) > li.osp-header-row > ul > li:nth-child(2) {
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-top-color: transparent !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  padding-top: 26px !important;
  min-height: 200px !important;
  box-shadow: none !important;
  z-index: 1 !important;
}
/* Hide the BEST VALUE badge while another column has focus */
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(3):hover) .osp-best-badge,
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(4):hover) .osp-best-badge,
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(5):hover) .osp-best-badge {
  opacity: 0;
  transition: opacity 0.18s ease;
}

/* Middle data row cells of BEST VALUE column - clear purple borders + tint */
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(3):hover) > li:not(.osp-header-row):not(:last-child) > ul > li:nth-child(2),
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(4):hover) > li:not(.osp-header-row):not(:last-child) > ul > li:nth-child(2),
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(5):hover) > li:not(.osp-header-row):not(:last-child) > ul > li:nth-child(2) {
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  background: #fff !important;
}

/* Last data row cell of BEST VALUE column - clear border + tint */
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(3):hover) > li:last-child > ul > li:nth-child(2),
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(4):hover) > li:last-child > ul > li:nth-child(2),
.os-plan.os-plan--modern > ul:has(> li > ul > li:nth-child(5):hover) > li:last-child > ul > li:nth-child(2) {
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* ---- Feature label cells (first column of data rows) ---- */
.osp-feat {
  background: #fff !important;
  justify-content: flex-start !important;
  gap: 14px;
  padding-left: 28px !important;
  font-weight: 700;
}
.osp-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef2ff, #ede9fe);
  color: #6d28d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.osp-feat h5 {
  font-size: 0.95rem !important;
  font-weight: 700;
  color: #111827;
  margin: 0 !important;
}

/* Highlighted cells (BEST VALUE column = column 2) */
.osp-highlight {
  background: #faf5ff !important;
  position: relative;
}

/* ---- Check icons ---- */
.osp-check {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16,185,129,0.32);
}

/* Plain text cells */
.osp-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4b5563;
  font-weight: 500;
}

/* "Perfect For" row */
.osp-perfect-row { background: transparent; }
.osp-perfect {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
  padding: 24px 16px !important;
  font-weight: 500;
}

/* ---- HEADER ROW ---- */
.osp-header-row {
  border-bottom: none !important;
  position: relative;
}
.osp-header-row > ul > li {
  padding: 0 !important;
  min-height: 200px;
  background: #fff;
  border: 0;
}

/* "FEATURES" dark cell */
.osp-features-cell {
  background: linear-gradient(160deg, #2d2a8c 0%, #1e1660 100%) !important;
  border-radius: 16px 0 0 0;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 14px !important;
  color: #fff !important;
}
.osp-features-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.13);
  border: 1.5px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.os-plan.os-plan--modern .osp-features-cell h4 {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: 2px;
  color: #fff !important;
  margin: 0 !important;
}

/* Product header cells */
.osp-product {
  flex-direction: column !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 30px 16px !important;
  border-right: 1px solid #f0f1f5 !important;
}
.osp-product:last-child {
  border-right: 0 !important;
  border-radius: 0 16px 0 0;
}
.osp-product .plan-product-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px;
  border-radius: 10px;
  transition: transform 0.22s ease, background 0.22s ease;
}
.osp-product .plan-product-link:hover { transform: translateY(-3px); background: rgba(27,101,255,0.04); }
.osp-product .plan-product-link img { height: 34px; width: auto; }
.osp-product .plan-product-link h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
  transition: color 0.22s;
}
.osp-product .plan-product-link:hover h4 { color: var(--siteColor); }

/* BEST VALUE highlighted column - elevated card */
.osp-product--best {
  background: #fff !important;
  border-left: 2.5px solid #7c3aed !important;
  border-right: 2.5px solid #7c3aed !important;
  border-top: 2.5px solid #7c3aed !important;
  border-radius: 14px 14px 0 0 !important;
  position: relative;
  z-index: 4;
  margin-top: -14px;
  padding-top: 38px !important;
  min-height: 214px !important;
  box-shadow: -6px -10px 30px rgba(124,58,237,0.12);
}
.osp-best-badge {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 6px 18px rgba(124,58,237,0.4);
  white-space: nowrap;
  z-index: 5;
}
.osp-best-badge svg { color: #fbbf24; }

/* Middle data rows - purple sides only */
.os-plan.os-plan--modern > ul > li:not(.osp-header-row):not(:last-child) > ul > li:nth-child(2) {
  border-left: 2.5px solid #7c3aed !important;
  border-right: 2.5px solid #7c3aed !important;
  background: #faf5ff !important;
  position: relative;
  z-index: 3;
}
/* Last data row - close the bottom of the elevated card */
.os-plan.os-plan--modern > ul > li:last-child > ul > li:nth-child(2) {
  border-left: 2.5px solid #7c3aed !important;
  border-right: 2.5px solid #7c3aed !important;
  border-bottom: 2.5px solid #7c3aed !important;
  border-radius: 0 0 14px 14px;
  background: #faf5ff !important;
  box-shadow: -6px 10px 30px rgba(124,58,237,0.12);
  position: relative;
  z-index: 3;
}

/* Vertical column borders between non-highlighted columns */
.os-plan.os-plan--modern > ul > li:not(.osp-header-row) > ul > li:nth-child(3),
.os-plan.os-plan--modern > ul > li:not(.osp-header-row) > ul > li:nth-child(4) {
  border-right: 1px solid #f0f1f5;
}

/* Round outer corners on first/last data rows */
.os-plan.os-plan--modern > ul > li:nth-child(2) > ul > li:first-child {
  border-left: 1px solid #e8eaf0;
}
.os-plan.os-plan--modern > ul > li:last-child > ul > li:first-child {
  border-bottom-left-radius: 16px;
}
.os-plan.os-plan--modern > ul > li:last-child > ul > li:last-child {
  border-bottom-right-radius: 16px;
}

/* Wrapper rounded card */
.os-plan.os-plan--modern > ul {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(15,23,42,0.07);
  border: 1px solid #e8eaf0;
  overflow: visible;
}

/* The old generic .os-plan > ul rule kept for fallback */
.os-plan > ul > li > ul {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.os-plan > ul > li > ul > li {
  padding: 22px 20px;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
  border-right: 1px solid #f0f1f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  line-height: 1.5;
}
.os-plan > ul > li > ul > li:last-child { border-right: none; }

/* First column — feature label */
.os-plan > ul > li > ul > li:first-child {
  justify-content: flex-start;
  font-weight: 700;
  color: #111827;
  font-size: 0.95rem;
  padding-left: 28px;
}
.os-plan > ul > li:not(:first-child) > ul > li:first-child {
  background: transparent;
}

/* ---- HEADER ROW ---- */
.os-plan > ul > li:first-child {
  background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
  border-bottom: 2px solid rgba(27,101,255,0.1);
}
.os-plan > ul > li:first-child:hover { background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%); }
.os-plan > ul > li:first-child > ul > li {
  padding: 26px 16px;
  background: transparent;
  border-right: 1px solid rgba(27,101,255,0.08);
  min-height: 130px;
}
.os-plan > ul > li:first-child > ul > li:last-child { border-right: none; }
.os-plan > ul > li:first-child > ul > li:first-child {
  background: transparent;
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.2px;
}
.os-plan > ul > li:first-child img {
  height: 34px;
  width: auto;
  margin-bottom: 10px;
}
.os-plan > ul > li:first-child h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.1px;
}

/* ---- Check marks ---- */
.os-plan .material-icons.text-green {
  color: #fff !important;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px !important;
  line-height: 30px !important;
  text-align: center;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 10px rgba(16,185,129,0.28);
}

.os-plan h5 {
  font-size: 0.95rem !important;
  font-weight: 700;
  color: #111827;
  margin: 0 !important;
}

/* Product logo header cell — clickable link with hover lift */
.plan-product-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 4px 6px;
  border-radius: 10px;
  transition: transform 0.22s ease, background 0.22s ease;
}
.plan-product-link:hover {
  transform: translateY(-3px);
  background: rgba(27,101,255,0.05);
  color: inherit;
}
.plan-product-link img { transition: filter 0.22s ease; }
.plan-product-link:hover img { filter: brightness(1.05); }
.plan-product-link h4 {
  transition: color 0.22s ease;
}
.plan-product-link:hover h4 { color: var(--siteColor) !important; }

/* ---- Bottom CTA below the table ---- */
.plan-bottom-cta {
  margin-top: 48px;
  padding: 40px 28px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8eaf0;
  box-shadow: 0 8px 28px rgba(15,23,42,0.06);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.plan-bottom-cta h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
.plan-bottom-cta > p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 24px;
}
.plan-bottom-cta .btn-site {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--siteColor), var(--siteHoverColor));
  color: #fff;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 8px 22px rgba(27,101,255,0.3);
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s;
}
.plan-bottom-cta .btn-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27,101,255,0.42);
  color: #fff;
}
.plan-bottom-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin: 22px 0 0;
}
.plan-bottom-note i { color: var(--siteColor); margin-right: 4px; }

/* Responsive */
@media (max-width: 991.98px) {
  .os-plan.os-plan--modern > ul > li > ul,
  .os-plan > ul > li > ul {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    font-size: 0.8rem;
  }
  .os-plan.os-plan--modern > ul > li > ul > li {
    padding: 14px 8px;
    font-size: 0.76rem;
    min-height: 60px;
  }
  .osp-feat { padding-left: 12px !important; gap: 8px; }
  .osp-feat h5 { font-size: 0.78rem !important; }
  .osp-feat-icon { width: 28px; height: 28px; border-radius: 8px; }
  .osp-feat-icon svg { width: 14px; height: 14px; }
  .osp-features-cell h4 { font-size: 0.95rem; letter-spacing: 1px; }
  .osp-product { padding: 24px 8px !important; min-height: 160px !important; }
  .osp-product img { height: 24px !important; max-width: 70px; }
  .osp-product h4 { font-size: 0.7rem !important; }
  .osp-best-badge { font-size: 0.6rem; padding: 4px 10px; }
  .osp-text { font-size: 0.72rem; }
  .osp-perfect { font-size: 0.74rem; padding: 14px 8px !important; }
  .os-plan > ul > li:first-child img { height: 26px; }
  .os-plan > ul > li:first-child h4 { font-size: 0.7rem; }
}
@media (max-width: 575.98px) {
  .page-hero { padding: 80px 0 50px; }
  .page-hero h1 { font-size: 1.6rem; }
  .plan-intro h2 { font-size: 1.5rem; }
  .os-plan { overflow-x: auto; }
  .os-plan.os-plan--modern > ul,
  .os-plan > ul { min-width: 680px; }
}


/* =============================================================
   FEATURES PAGE - modern redesign
   ============================================================= */

/* Shared eyebrow + heading style for sections inside features */
.fp-head { margin-bottom: 44px; }
.fp-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--siteColor);
  background: #eff6ff;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.fp-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
  margin: 0 auto 12px;
  max-width: 720px;
  line-height: 1.22;
}
.fp-head p {
  font-size: 0.97rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ============== METRICS ============== */
.fp-metrics {
  background: #fff;
  padding: 60px 0;
  border-bottom: 1px solid #f0f1f5;
}
.fp-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.fp-metric {
  padding: 8px;
  border-right: 1px solid #f0f1f5;
}
.fp-metric:last-child { border-right: none; }
.fp-metric-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--mc, #1b65ff), color-mix(in srgb, var(--mc, #1b65ff) 60%, #fff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.fp-metric-num sup { font-size: 0.5em; top: -0.5em; }
.fp-metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.2px;
}

/* ============== ESSENTIAL FEATURES ============== */
.fp-essential {
  background: #f7f9fc;
  padding: 80px 0;
}
/* Modern feature card with FULL gradient cover on hover */
.fp-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 18px;
  padding: 32px 26px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: transform 0.32s cubic-bezier(0.34,1.4,0.64,1),
              box-shadow 0.32s ease,
              border-color 0.32s ease;
}

/* Gradient cover - sits below the card, slides UP on hover */
.fp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--fc1, #1b65ff), var(--fc2, #5f27ff));
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

/* Glow under the card on hover */
.fp-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 40px;
  background: linear-gradient(135deg, var(--fc1, #1b65ff), var(--fc2, #5f27ff));
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.45s ease 0.1s, bottom 0.45s ease 0.1s;
  z-index: 0;
}

/* Lift card content above the cover */
.fp-card > * { position: relative; z-index: 1; }

/* HOVER: lift + slide-up flood + glow */
.fp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.14);
  border-color: transparent;
}
.fp-card:hover::before { transform: translateY(0); }
.fp-card:hover::after  { opacity: 0.55; bottom: -30px; }

/* Icon - colored circle that becomes glass on hover */
.fp-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--fc1, #1b65ff), var(--fc2, #5f27ff));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              background 0.32s ease,
              box-shadow 0.32s ease;
}
.fp-card:hover .fp-card-icon {
  background: rgba(255,255,255,0.25);
  border: 1.5px solid rgba(255,255,255,0.5);
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Title + body text - invert to white on gradient hover */
.fp-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.25s ease;
}
.fp-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.68;
  margin: 0;
  flex: 1;
  transition: color 0.25s ease;
}
.fp-card:hover h4 { color: #fff; }
.fp-card:hover p  { color: rgba(255,255,255,0.85); }

/* Arrow that appears at bottom-right on hover */
.fp-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  margin-top: 22px;
  align-self: flex-end;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fp-card:hover .fp-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============== TABS SECTION ============== */
.fp-tabs-section {
  background: #fff;
  padding: 90px 0;
}
.fp-tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border: none !important;
}
.fp-tabs .nav-link {
  background: #f7f9fc !important;
  border: 1.5px solid #e8eaf0 !important;
  border-radius: 14px !important;
  color: #374151 !important;
  padding: 14px 22px !important;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  transition: all 0.24s ease;
  position: relative;
}
.fp-tabs .nav-link:hover {
  background: #fff !important;
  border-color: #c7d2fe !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27,101,255,0.08);
}
.fp-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--siteColor), var(--siteHoverColor)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(27,101,255,0.32);
}

.fp-tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(27,101,255,0.1);
  color: var(--siteColor);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.24s, color 0.24s;
}
.fp-tabs .nav-link.active .fp-tab-icon {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.fp-tab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.fp-tab-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.fp-tab-text em {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}
.fp-tabs .nav-link.active .fp-tab-text em { opacity: 0.85; }

/* Tab content cards */
.fp-tab-content { min-height: 200px; }

.fp-mini {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  padding: 18px 18px;
  height: 100%;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.fp-mini:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--mc, #1b65ff) 35%, #fff);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--mc, #1b65ff) 12%, transparent);
}
.fp-mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--mc, #1b65ff) 12%, #fff);
  color: var(--mc, #1b65ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.26s cubic-bezier(0.34,1.56,0.64,1),
              background 0.26s, color 0.26s;
}
.fp-mini:hover .fp-mini-icon {
  background: var(--mc, #1b65ff);
  color: #fff;
  transform: scale(1.1) rotate(6deg);
}
.fp-mini-body { flex: 1; min-width: 0; }
.fp-mini-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 5px;
  line-height: 1.3;
}
.fp-mini-body p {
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0;
}

/* color-mix fallback */
@supports not (color: color-mix(in srgb, red, blue)) {
  .fp-mini-icon { background: #eff6ff; }
  .fp-mini:hover { border-color: #c7d2fe; box-shadow: 0 12px 28px rgba(27,101,255,0.08); }
  .fp-metric-num { background: linear-gradient(135deg, #1b65ff, #5f27ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
}

/* ============== KEY FEATURE PILLS ============== */
.fp-key-features {
  background: #f7f9fc;
  padding: 80px 0;
}
.fp-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.fp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1f2937;
  cursor: default;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.fp-pill:hover {
  transform: translateY(-2px);
  border-color: var(--siteColor);
  box-shadow: 0 8px 20px rgba(27,101,255,0.12);
  color: var(--siteColor);
}
.fp-pill i { color: var(--siteColor); font-size: 0.82rem; }

/* ============== MOBILE APP SECTION ============== */
.fp-mobile-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, #0f2051 0%, #1a3a8f 55%, #1e1060 100%);
  overflow: hidden;
  color: #fff;
}
.fp-mobile-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.fp-mobile-glow--1 {
  width: 440px; height: 440px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(27,101,255,0.18), transparent 70%);
}
.fp-mobile-glow--2 {
  width: 380px; height: 380px;
  bottom: -120px; right: -80px;
  background: radial-gradient(circle, rgba(95,39,255,0.2), transparent 70%);
}
.fp-mobile-section > .container { position: relative; z-index: 2; }

.fp-mobile-section .section-label--light {
  background: rgba(147,197,253,0.1);
  border: 1px solid rgba(147,197,253,0.22);
  color: #93c5fd;
}

.fp-mobile-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.3px;
  margin: 16px 0 16px;
}
.fp-mobile-title em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fp-mobile-desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.72;
  margin-bottom: 28px;
}

.fp-mobile-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.fp-mobile-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 20px;
  backdrop-filter: blur(6px);
}
.fp-mobile-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.fp-mobile-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.fp-mob-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 22px 22px;
  height: 100%;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
  backdrop-filter: blur(8px);
}
.fp-mob-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-4px);
}
.fp-mob-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 14px;
}
.fp-mob-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.fp-mob-card p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin: 0;
}

/* ============== CTA ============== */
.fp-cta {
  background: #f7f9fc;
  padding: 80px 0;
}
.fp-cta-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.07);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.fp-cta-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,101,255,0.08), transparent 70%);
}
.fp-cta-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  position: relative;
}
.fp-cta-card p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 32px;
  position: relative;
}
.fp-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.fp-cta-buttons .btn-site {
  background: linear-gradient(135deg, var(--siteColor), var(--siteHoverColor));
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 22px rgba(27,101,255,0.3);
  transition: transform 0.22s, box-shadow 0.22s;
}
.fp-cta-buttons .btn-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27,101,255,0.42);
  color: #fff;
}
.fp-cta-buttons .btn-outline-secondary {
  border: 1.5px solid #e5e7eb;
  color: #374151;
  background: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  transition: all 0.22s ease;
}
.fp-cta-buttons .btn-outline-secondary:hover {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

/* ============== Responsive ============== */
@media (max-width: 991.98px) {
  .fp-metrics { padding: 40px 0; }
  .fp-metrics-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .fp-metric { border-right: none; }
  .fp-metric:nth-child(odd) { border-right: 1px solid #f0f1f5; }
  .fp-essential, .fp-tabs-section, .fp-key-features, .fp-mobile-section, .fp-cta { padding: 60px 0; }
  .fp-tabs .nav-link { padding: 10px 14px !important; }
  .fp-tab-icon { width: 30px; height: 30px; font-size: 0.85rem; }
  .fp-tab-text strong { font-size: 0.85rem; }
  .fp-tab-text em { font-size: 0.66rem; }
}
@media (max-width: 575.98px) {
  .fp-metrics-row { grid-template-columns: 1fr; }
  .fp-metric { border-right: none !important; padding-bottom: 16px; border-bottom: 1px solid #f0f1f5; }
  .fp-metric:last-child { border-bottom: none; }
  .fp-tabs { justify-content: stretch; }
  .fp-tabs .nav-item { flex: 1; }
  .fp-tabs .nav-link { justify-content: center; padding: 10px 8px !important; }
  .fp-tab-text { align-items: center; }
  .fp-cta-card { padding: 40px 24px; }
  .fp-cta-buttons .btn { width: 100%; }
}


/* =============================================================
   ABOUT US PAGE
   ============================================================= */

/* ============== INTRO BLOCK — single grouped card ============== */
.ab-intro-blocks {
  background: #f7f9fc;
  padding: 70px 0 50px;
}

.ab-intro-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px;
  border: 1px solid #e8eaf0;
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
  border-color: #c7d2fe;
}

/* Decorative left accent stripe */
.ab-intro-card::before {
  content: '';
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--siteColor), var(--siteHoverColor));
  border-radius: 0 4px 4px 0;
}

.ab-intro-card p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 16px;
}
.ab-intro-card p:last-child { margin-bottom: 0; }

@media (max-width: 575.98px) {
  .ab-intro-card { padding: 30px 22px; }
  .ab-intro-card p { font-size: 0.92rem; }
}

/* Bottom intro CTA pill */
.ab-intro-cta {
  margin-top: 30px;
}
.ab-intro-cta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #c7d2fe;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  box-shadow: 0 8px 24px rgba(27,101,255,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ab-intro-cta span:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(27,101,255,0.14);
}
.ab-intro-cta i {
  color: var(--siteColor);
  font-size: 0.95rem;
}

/* Slim hero override for about-us */
.about-us .page-hero,
section.page-hero + .ab-intro-blocks { padding-top: 60px; }

/* Shared accent for highlighted span */
.ab-h-accent {
  background: linear-gradient(90deg, var(--siteColor), var(--siteHoverColor));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ab-h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.22;
  letter-spacing: -0.3px;
  margin: 14px 0 18px;
}
.ab-h2 span {
  background: linear-gradient(90deg, var(--siteColor), var(--siteHoverColor));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============== OUR STORY ============== */
.ab-story {
  background: #fff;
  padding: 80px 0;
}
.ab-story p {
  font-size: 0.97rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 14px;
}
.ab-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.ab-mission-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #e8eaf0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}
.ab-mission-card--blue { border-left: 4px solid #1b65ff; }
.ab-mission-card--purple { border-left: 4px solid #7c3aed; }
.ab-mc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.ab-mission-card--blue .ab-mc-icon {
  background: linear-gradient(135deg, #1b65ff, #5f27ff);
  color: #fff;
}
.ab-mission-card--purple .ab-mc-icon {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}
.ab-mission-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}
.ab-mission-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ============== WHAT MAKES US DIFFERENT ============== */
.ab-different {
  background: #f7f9fc;
  padding: 90px 0;
}
.ab-diff-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-diff-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px;
  height: 60px;
  border-radius: 0 0 100% 0;
  background: color-mix(in srgb, var(--ac, #1b65ff) 12%, transparent);
  transition: width 0.32s ease, height 0.32s ease;
}
.ab-diff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(15,23,42,0.1);
  border-color: transparent;
}
.ab-diff-card:hover::after {
  width: 120px; height: 120px;
}
.ab-diff-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ac, #1b65ff), color-mix(in srgb, var(--ac, #1b65ff) 60%, #fff));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.ab-diff-card:hover .ab-diff-icon {
  transform: scale(1.1) rotate(-6deg);
}
.ab-diff-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.ab-diff-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.68;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ============== EVERYTHING YOU NEED ============== */
.ab-included {
  background: #fff;
  padding: 90px 0;
}
.ab-included-desc {
  font-size: 0.97rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 22px;
}
.ab-included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.ab-included-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f7f9fc;
  border-radius: 14px;
  padding: 18px 18px;
  border: 1px solid transparent;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}
.ab-included-list li:hover {
  background: #fff;
  border-color: #c7d2fe;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27,101,255,0.08);
}
.ab-included-list i {
  color: #10b981;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.ab-included-list strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 3px;
}
.ab-included-list span {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ============== GLOBAL OPPORTUNITY ============== */
.ab-global {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, #0f2051 0%, #1a3a8f 55%, #1e1060 100%);
  color: #fff;
  overflow: hidden;
}
.ab-global-glow {
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,39,255,0.22), transparent 70%);
  pointer-events: none;
}
.ab-global > .container { position: relative; z-index: 2; }
.ab-global-h {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.3px;
  margin: 16px 0 18px;
}
.ab-global-h em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ab-global p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 14px;
}
.ab-global-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ab-gs-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 22px 18px;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: background 0.22s ease, transform 0.22s ease;
}
.ab-gs-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.ab-gs-card strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ab-gs-card span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* ============== TRUST PROMISES ============== */
.ab-promises {
  background: #f7f9fc;
  padding: 90px 0;
}
.ab-promise {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 28px;
  height: 100%;
  border: 1px solid #e8eaf0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ab-promise:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
}
.ab-promise-num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(27,101,255,0.06);
  line-height: 1;
  font-family: 'Roboto Condensed', sans-serif;
}
.ab-promise h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}
.ab-promise p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ============== FOUNDER'S MESSAGE ============== */
.ab-founder {
  background: #fff;
  padding: 90px 0;
}
.ab-founder-card {
  background: linear-gradient(135deg, #f0f4ff 0%, #f7f0ff 100%);
  border-radius: 24px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.ab-founder-quote-icon {
  position: absolute;
  top: 24px;
  right: 30px;
  color: rgba(27,101,255,0.14);
  pointer-events: none;
}
.ab-founder-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b65ff, #5f27ff);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 16px 40px rgba(27,101,255,0.3);
}
.ab-founder-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px;
}
.ab-founder-role {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 14px;
}
.ab-founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0a66c2;
  text-decoration: none;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  transition: all 0.22s ease;
}
.ab-founder-link:hover {
  border-color: #0a66c2;
  color: #0a66c2;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10,102,194,0.18);
}
.ab-founder-message {
  font-size: 1.05rem;
  color: #1f2937;
  line-height: 1.8;
  margin-bottom: 14px;
  font-style: italic;
}
.ab-founder-message:first-of-type::before { content: '\201C'; font-size: 1.6rem; line-height: 0; font-weight: 800; color: #1b65ff; margin-right: 4px; }

/* ============== MEET OUR TEAM ============== */
.ab-team {
  background: #f7f9fc;
  padding: 90px 0;
}
.ab-team-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 22px 26px;
  text-align: center;
  height: 100%;
  border: 1px solid #e8eaf0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tc1, #1b65ff), var(--tc2, #5f27ff));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s ease;
}
.ab-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(15,23,42,0.1);
  border-color: transparent;
}
.ab-team-card:hover::before { transform: scaleX(1); }
.ab-team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tc1, #1b65ff), var(--tc2, #5f27ff));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.ab-team-card:hover .ab-team-avatar {
  transform: scale(1.05);
}
.ab-team-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px;
  line-height: 1.3;
}
.ab-team-role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tc1, #1b65ff);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ab-team-bio {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0;
}

/* Join card variant */
.ab-team-join { background: #fafbff; }
.ab-team-avatar--join {
  background: rgba(27,101,255,0.08) !important;
  color: var(--siteColor) !important;
  border: 2px dashed #c7d2fe;
}
.ab-team-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--siteColor);
  text-decoration: none;
  transition: gap 0.22s ease;
}
.ab-team-cta:hover { gap: 10px; color: var(--siteHoverColor); }

.ab-team-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--siteColor);
  text-decoration: none;
  padding: 12px 24px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 50px;
  transition: all 0.22s ease;
}
.ab-team-more:hover {
  border-color: var(--siteColor);
  background: #eff6ff;
  color: var(--siteColor);
  transform: translateY(-2px);
}

/* ============== FINAL CTA ============== */
.ab-final-cta {
  background: #fff;
  padding: 90px 0;
}
.ab-final-card {
  background: linear-gradient(135deg, #04102e 0%, #0d2260 50%, #1a0a4a 100%);
  border-radius: 28px;
  padding: 70px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ab-final-card::before {
  content: '';
  position: absolute;
  top: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,101,255,0.28), transparent 70%);
  pointer-events: none;
}
.ab-final-card::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,39,255,0.28), transparent 70%);
  pointer-events: none;
}
.ab-final-card > * { position: relative; z-index: 2; }
.ab-final-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.ab-final-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 32px;
}
.ab-final-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.ab-final-buttons .btn-site {
  background: #fff;
  color: var(--siteColor);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ab-final-buttons .btn-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.28);
  color: var(--siteColor);
  background: #f0f4ff;
}
.ab-final-buttons .btn-outline-secondary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 10px;
  transition: all 0.22s ease;
}
.ab-final-buttons .btn-outline-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .ab-story, .ab-different, .ab-included, .ab-global, .ab-promises, .ab-founder, .ab-team, .ab-final-cta { padding: 60px 0; }
  .ab-included-list { grid-template-columns: 1fr; }
  .ab-global-stats { grid-template-columns: repeat(2, 1fr); }
  .ab-final-card { padding: 50px 28px; }
}
@media (max-width: 575.98px) {
  .ab-global-stats { grid-template-columns: 1fr 1fr; }
  .ab-founder-card { padding: 40px 24px; }
  .ab-final-buttons .btn { width: 100%; }
}

/* color-mix fallback for diff-card */
@supports not (color: color-mix(in srgb, red, blue)) {
  .ab-diff-card::after { background: rgba(27,101,255,0.08); }
  .ab-diff-icon { background: linear-gradient(135deg, #1b65ff, #60a5fa); }
}


/* =============================================================
   PORTFOLIO PAGE
   ============================================================= */
.pf-section { background: #f7f9fc; padding: 70px 0 90px; }

/* Card */
.pf-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  position: relative;
  box-shadow: 0 4px 16px rgba(15,23,42,0.05);
  transition: transform 0.3s cubic-bezier(0.34,1.3,0.64,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}
.pf-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15,23,42,0.12);
  border-color: transparent;
}

/* Top accent stripe — appears in card's brand color on hover */
.pf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pf-c, #1b65ff), color-mix(in srgb, var(--pf-c, #1b65ff) 60%, #fff));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s ease;
  z-index: 3;
}
.pf-card:hover::before { transform: scaleX(1); }

/* Image area — larger thumbnail showing more of the website */
.pf-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
}
.pf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;     /* show top of the website */
  display: block;
  transition: object-position 8s linear, transform 0.5s ease;
}
.pf-card:hover .pf-card-image img {
  /* On hover: slowly pan down to reveal the rest of the page */
  object-position: bottom center;
  transform: scale(1.02);
}

/* Overlay tag on hover */
.pf-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14px;
  pointer-events: none;
  background: linear-gradient(180deg,
              color-mix(in srgb, var(--pf-c, #1b65ff) 75%, transparent) 0%,
              transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pf-card:hover .pf-overlay { opacity: 1; }
.pf-overlay-tag {
  background: #fff;
  color: var(--pf-c, #1b65ff);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transform: translateY(-8px);
  transition: transform 0.32s ease 0.05s;
}
.pf-card:hover .pf-overlay-tag { transform: translateY(0); }
.pf-overlay-tag i { font-size: 0.72rem; }

/* Body */
.pf-card-body {
  padding: 20px 22px;
  position: relative;
}
.pf-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  transition: color 0.22s ease;
}
.pf-card:hover .pf-name { color: var(--pf-c, #1b65ff); }
.pf-desc {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0;
}

/* color-mix fallback */
@supports not (color: color-mix(in srgb, red, blue)) {
  .pf-card::before { background: linear-gradient(90deg, #1b65ff, #60a5fa); }
  .pf-overlay { background: linear-gradient(180deg, rgba(27,101,255,0.7) 0%, transparent 50%); }
}

/* Bottom CTA card */
.pf-cta-card {
  background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 24px;
  padding: 56px 36px;
  margin-top: 56px;
  box-shadow: 0 14px 40px rgba(27,101,255,0.06);
}
.pf-cta-card h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.pf-cta-card p {
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 28px;
}
.pf-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pf-cta-buttons .btn-site {
  background: linear-gradient(135deg, var(--siteColor), var(--siteHoverColor));
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 22px rgba(27,101,255,0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pf-cta-buttons .btn-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27,101,255,0.42);
  color: #fff;
}
.pf-cta-buttons .btn-outline-secondary {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  color: #374151;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  transition: all 0.22s ease;
}
.pf-cta-buttons .btn-outline-secondary:hover {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

@media (max-width: 575.98px) {
  .pf-cta-card { padding: 40px 24px; }
  .pf-cta-buttons .btn { width: 100%; }
}

/* ===== Portfolio lightbox additions ===== */

/* Anchor wrapping the image must be a block element with no underline */
.pf-card-image.pf-lightbox {
  display: block;
  text-decoration: none;
  cursor: zoom-in;
}
.pf-card-image.pf-lightbox:hover { text-decoration: none; }

/* Overlay layout — keep tag top-left, zoom button centered */
.pf-overlay {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

/* Center magnifier button on the image */
.pf-zoom-btn {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--pf-c, #1b65ff);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%) scale(0.5) rotate(-12deg);
  opacity: 0;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.32), 0 0 0 6px rgba(255,255,255,0.18);
  pointer-events: none;
}
.pf-card:hover .pf-zoom-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

/* Magnific Popup theme override — make it modern */
.pf-mfp.mfp-bg { background: rgba(8, 14, 28, 0.92); opacity: 1; }
.pf-mfp .mfp-img {
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.pf-mfp .mfp-title {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 16px 50px 0;
}
.pf-mfp .mfp-counter {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}
.pf-mfp .mfp-arrow {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  opacity: 0.8;
  transition: background 0.22s ease, opacity 0.22s ease;
  backdrop-filter: blur(8px);
}
.pf-mfp .mfp-arrow:hover { background: rgba(255,255,255,0.22); opacity: 1; }
.pf-mfp .mfp-arrow::before, .pf-mfp .mfp-arrow::after { display: none; }
.pf-mfp .mfp-arrow-left::after {
  content: '';
  position: absolute;
  top: 50%; left: 56%;
  width: 12px; height: 12px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  display: block;
}
.pf-mfp .mfp-arrow-right::after {
  content: '';
  position: absolute;
  top: 50%; left: 44%;
  width: 12px; height: 12px;
  border-right: 2.5px solid #fff;
  border-top: 2.5px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  display: block;
}
.pf-mfp .mfp-close {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  color: #fff;
  opacity: 0.9;
  font-size: 26px;
  line-height: 42px;
  text-align: center;
  top: 18px;
  right: 18px;
  backdrop-filter: blur(8px);
  transition: background 0.22s ease, transform 0.22s ease;
}
.pf-mfp .mfp-close:hover {
  background: rgba(255,255,255,0.22);
  transform: rotate(90deg);
  opacity: 1;
}

/* Zoom animation */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg { opacity: 0; transition: opacity 0.3s ease; }
.mfp-with-zoom.mfp-ready .mfp-container,
.mfp-with-zoom.mfp-ready.mfp-bg { opacity: 1; }
.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg { opacity: 0; }
