/**
 * FYNSOL Agency - Digital Product & Software Engineering Visual System
 * Premium vector visuals, architecture diagrams, device frames & timeline components
 */

:root {
  --fyn-neon: #9CFE4F;
  --fyn-neon-glow: rgba(156, 254, 79, 0.25);
  --fyn-neon-subtle: rgba(156, 254, 79, 0.08);
  --fyn-cyan: #38BDF8;
  --fyn-cyan-glow: rgba(56, 189, 248, 0.25);
  --fyn-purple: #A78BFA;
  --fyn-amber: #FBBF24;
  --fyn-dark-0: #0A0B0D;
  --fyn-dark-1: #0E1013;
  --fyn-dark-2: #14171C;
  --fyn-dark-3: #1B1F26;
  --fyn-dark-4: #232832;
  --fyn-border: rgba(255, 255, 255, 0.08);
  --fyn-border-active: rgba(156, 254, 79, 0.35);
  --fyn-text-muted: #94A3B8;
  --fyn-code-font: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

/* Base Tech Canvas */
.fyn-tech-canvas {
  position: relative;
  width: 100%;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--fyn-dark-2) 0%, var(--fyn-dark-1) 100%);
  border: 1px solid var(--fyn-border);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.fyn-tech-canvas:hover {
  border-color: var(--fyn-border-active);
  box-shadow: 0 25px 50px -12px rgba(156, 254, 79, 0.12), inset 0 1px 0 rgba(156, 254, 79, 0.2);
}

/* Tech Grid Background Pattern */
.fyn-tech-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.8;
}

.fyn-tech-grid-glow {
  position: absolute;
  top: -20%;
  left: 30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--fyn-neon-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.6;
}

/* Telemetry & System Status Chips */
.fyn-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(10, 11, 13, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fyn-border);
  font-family: var(--fyn-code-font);
  font-size: 11px;
  color: var(--fyn-text-muted);
}

.fyn-traffic-lights {
  display: flex;
  gap: 6px;
}

.fyn-traffic-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3F444E;
}

.fyn-traffic-dot.red { background: #EF4444; }
.fyn-traffic-dot.yellow { background: #F59E0B; }
.fyn-traffic-dot.green { background: #10B981; }

.fyn-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--fyn-neon-subtle);
  border: 1px solid rgba(156, 254, 79, 0.2);
  color: var(--fyn-neon);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fyn-live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fyn-neon);
  box-shadow: 0 0 8px var(--fyn-neon);
  animation: fynPulse 2s infinite;
}

@keyframes fynPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(156, 254, 79, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(156, 254, 79, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(156, 254, 79, 0); }
}

/* Architecture Node Elements */
.fyn-node-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.fyn-arch-box {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--fyn-dark-3);
  border: 1px solid var(--fyn-border);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: all 0.25s ease;
}

.fyn-arch-box:hover {
  border-color: var(--fyn-neon);
  transform: translateY(-3px);
}

.fyn-arch-box .label {
  font-size: 10px;
  color: var(--fyn-neon);
  font-family: var(--fyn-code-font);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fyn-arch-box .title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 2px 0 0;
}

/* SVG Line Animations */
.fyn-flow-path {
  stroke-dasharray: 6 6;
  animation: fynFlow 15s linear infinite;
}

@keyframes fynFlow {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

/* Service Card Vector Container */
.fyn-service-visual {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fyn-dark-2) 0%, var(--fyn-dark-1) 100%);
  border: 1px solid var(--fyn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.agenko-card-item:hover .fyn-service-visual {
  border-color: var(--fyn-border-active);
  box-shadow: 0 16px 32px -8px rgba(156, 254, 79, 0.15);
}

.fyn-service-visual svg {
  width: 100%;
  height: 100%;
  max-height: 220px;
  transition: transform 0.4s ease;
}

.agenko-card-item:hover .fyn-service-visual svg {
  transform: scale(1.03);
}

/* Portfolio Product Visuals */
.fyn-portfolio-showcase {
  width: 100%;
  min-height: 320px;
  background: radial-gradient(circle at 50% 20%, #1a1e26 0%, #0c0e12 100%);
  border-radius: 16px;
  border: 1px solid var(--fyn-border);
  position: relative;
  overflow: hidden;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.agenko-project-item:hover .fyn-portfolio-showcase {
  border-color: rgba(156, 254, 79, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px -5px rgba(156, 254, 79, 0.15);
}

/* Hero Tech Console */
.fyn-hero-console {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 20px;
  background: rgba(14, 16, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(156, 254, 79, 0.1);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.fyn-hero-canvas-inner {
  padding: 24px;
  position: relative;
}

/* Engineering Delivery Lifecycle Timeline */
.fyn-timeline-system {
  position: relative;
  margin-top: 40px;
}

.fyn-timeline-system::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(156, 254, 79, 0.1) 0%, 
    rgba(156, 254, 79, 0.8) 50%, 
    rgba(56, 189, 248, 0.8) 100%);
  z-index: 1;
}

@media (max-width: 991px) {
  .fyn-timeline-system::before {
    display: none;
  }
}

.fyn-timeline-card {
  position: relative;
  z-index: 2;
  background: var(--fyn-dark-2);
  border: 1px solid var(--fyn-border);
  border-radius: 14px;
  padding: 28px 20px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.fyn-timeline-card:hover {
  transform: translateY(-6px);
  border-color: var(--fyn-neon);
  box-shadow: 0 20px 35px -10px rgba(156, 254, 79, 0.15);
}

.fyn-step-indicator {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fyn-dark-0);
  border: 2px solid var(--fyn-neon);
  box-shadow: 0 0 16px rgba(156, 254, 79, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--fyn-code-font);
  font-weight: 700;
  font-size: 13px;
  color: var(--fyn-neon);
}

.fyn-tech-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.fyn-tech-pill {
  font-size: 10px;
  font-family: var(--fyn-code-font);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px 7px;
  color: #CBD5E1;
}

/* About Operations Dashboard */
.fyn-ops-dashboard {
  position: relative;
  background: var(--fyn-dark-2);
  border: 1px solid var(--fyn-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

.fyn-ops-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.fyn-ops-metric-card {
  background: rgba(10, 11, 13, 0.6);
  border: 1px solid var(--fyn-border);
  border-radius: 10px;
  padding: 12px 14px;
}

.fyn-ops-metric-card .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--fyn-neon);
  font-family: var(--fyn-code-font);
}

.fyn-ops-metric-card .title {
  font-size: 11px;
  color: var(--fyn-text-muted);
  margin-top: 2px;
}

/* Tech Partner Bar / Monochrome vector icons */
.fyn-tech-ecosystem {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
}

.fyn-tech-stack-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.fyn-tech-stack-node:hover {
  background: rgba(156, 254, 79, 0.06);
  border-color: rgba(156, 254, 79, 0.3);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.fyn-tech-stack-node svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .fyn-flow-path,
  .fyn-live-pulse {
    animation: none !important;
  }
  .fyn-tech-canvas,
  .fyn-timeline-card,
  .fyn-arch-box,
  .fyn-tech-stack-node {
    transition: none !important;
  }
}

/* Preloader completely disabled */
.preloader {
  display: none !important;
}

/* =========================================================================
   PREMIUM PILL-SHAPED DESIGN SYSTEM
   1. Subpage Hero Section (All pages excluded Index)
   2. FAQ Accordion & Section
   ========================================================================= */

/* ─────────────────────────────────────────────────────────────────────────
   1. PILL-SHAPED HERO BANNER (Excluded Index)
   Applied to .agenko-page-banner on all inner subpages
───────────────────────────────────────────────────────────────────────── */
.agenko-page-banner {
  margin: 15px auto 35px !important;
  max-width: 1540px !important;
  width: calc(100% - 48px) !important;
  border-radius: 44px !important;
  background: 
    radial-gradient(circle at 85% 25%, rgba(156, 254, 79, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 15% 85%, rgba(56, 189, 248, 0.06) 0%, transparent 46%),
    linear-gradient(160deg, #15181E 0%, #0E1013 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 
    0 25px 60px -20px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 35px -10px rgba(156, 254, 79, 0.08) !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 1 !important;
  padding: 122px 48px 46px !important;
  transition: all 0.35s ease !important;
}

/* Subtle glowing accent line along top of the pill banner */
.agenko-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 254, 79, 0.4), rgba(56, 189, 248, 0.4), transparent);
  pointer-events: none;
  z-index: 2;
}

/* Ensure inner shapes conform to the pill border */
.agenko-page-banner .shape {
  border-radius: 44px;
  pointer-events: none;
}

/* Compact circle illustration on the right */
.agenko-page-banner .circle-box img {
  max-width: 120px !important;
  height: auto !important;
  opacity: 0.85;
}

/* Page Banner Title */
.agenko-page-banner .page-content h1.page-title,
.agenko-page-banner .page-content h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #FFFFFF !important;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

/* Breadcrumbs as a sleek glassmorphic pill badge */
.agenko-page-banner .page-content ul.breadcrumb-link {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 6px 18px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  margin: 0 !important;
}

.agenko-page-banner .page-content ul.breadcrumb-link li {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.agenko-page-banner .page-content ul.breadcrumb-link li a {
  color: #CBD5E1 !important;
  transition: color 0.25s ease !important;
}

.agenko-page-banner .page-content ul.breadcrumb-link li a:hover {
  color: #9CFE4F !important;
}

.agenko-page-banner .page-content ul.breadcrumb-link li.active {
  color: #9CFE4F !important;
  font-weight: 600 !important;
}

.agenko-page-banner .page-content ul.breadcrumb-link li:not(:last-child):after {
  content: '/' !important;
  margin: 0 8px !important;
  color: rgba(255, 255, 255, 0.25) !important;
  font-size: 13px !important;
}

/* Text Box with rotating star inside the banner into a pill card */
.agenko-page-banner .page-content .text-box {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 9999px !important;
  padding: 8px 20px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  margin-top: 0 !important;
}

.agenko-page-banner .page-content .text-box .icon {
  margin-right: 14px !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

.agenko-page-banner .page-content .text-box .icon img {
  width: 26px !important;
  height: 26px !important;
  filter: drop-shadow(0 0 10px rgba(156, 254, 79, 0.4));
}

.agenko-page-banner .page-content .text-box .text p {
  color: #94A3B8 !important;
  font-size: 14px !important;
  margin-bottom: 0 !important;
  line-height: 1.45 !important;
}

/* Responsive Pill Banners */
@media (max-width: 1199px) {
  .agenko-page-banner {
    margin: 14px 20px 30px !important;
    width: calc(100% - 40px) !important;
    border-radius: 36px !important;
    padding: 112px 32px 40px !important;
  }
  .agenko-page-banner .page-content h1.page-title,
  .agenko-page-banner .page-content h1 {
    font-size: 38px;
    margin-bottom: 12px;
  }
  .agenko-page-banner .circle-box img {
    max-width: 95px !important;
  }
}

@media (max-width: 767px) {
  .agenko-page-banner {
    margin: 10px 12px 25px !important;
    width: calc(100% - 24px) !important;
    border-radius: 26px !important;
    padding: 95px 18px 30px !important;
  }
  .agenko-page-banner .page-content h1.page-title,
  .agenko-page-banner .page-content h1 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .agenko-page-banner .circle-box img {
    max-width: 75px !important;
  }
  .agenko-page-banner .page-content .text-box {
    border-radius: 20px !important;
    padding: 10px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .agenko-page-banner .page-content .text-box .icon {
    margin-right: 0 !important;
  }
}


/* ─────────────────────────────────────────────────────────────────────────
   2. PILL-SHAPED FAQ ACCORDION SECTION
   Applies to .agenko-faqs, .agenko-accordion-item, and section titles
───────────────────────────────────────────────────────────────────────── */
/* FAQ Section Subtitle Pill Badge */
.agenko-faqs .section-title .sub-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 20px !important;
  border-radius: 9999px !important;
  background: rgba(156, 254, 79, 0.08) !important;
  border: 1px solid rgba(156, 254, 79, 0.3) !important;
  color: #9CFE4F !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 18px !important;
  box-shadow: 0 0 20px rgba(156, 254, 79, 0.12) !important;
}

.agenko-faqs .section-title .sub-title::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #9CFE4F;
  box-shadow: 0 0 8px #9CFE4F;
}

/* Accordion Container spacing */
.agenko-accordion {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* Accordion Item: Pill Shaped Container */
.agenko-accordion-item {
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: linear-gradient(135deg, rgba(24, 26, 32, 0.96) 0%, rgba(16, 18, 22, 0.96) 100%) !important;
  padding: 16px 32px !important;
  margin-bottom: 0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Pill Accordion Item Hover State */
.agenko-accordion-item:hover {
  border-color: rgba(156, 254, 79, 0.35) !important;
  box-shadow: 
    0 12px 32px -8px rgba(156, 254, 79, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.45) !important;
  transform: translateY(-2px);
}

/* Active / Open Accordion Item: Smoothly morphs to pill card */
.agenko-accordion-item:has([aria-expanded="true"]),
.agenko-accordion-item:has(.collapse.show),
.agenko-accordion-item:has(.collapsing),
.agenko-accordion-item.is-active {
  border-radius: 32px !important;
  background: linear-gradient(145deg, rgba(26, 29, 36, 0.98) 0%, rgba(17, 19, 24, 0.98) 100%) !important;
  border-color: rgba(156, 254, 79, 0.45) !important;
  box-shadow: 
    0 22px 50px -12px rgba(0, 0, 0, 0.75),
    0 0 28px -8px rgba(156, 254, 79, 0.2) !important;
  padding: 22px 34px !important;
}

/* Accordion Header & Title */
.agenko-accordion-item .accordion-header {
  margin: 0 !important;
  padding: 0 !important;
}

.agenko-accordion-item .accordion-header .accordion-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  color: #FFFFFF !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  cursor: pointer !important;
  transition: color 0.25s ease !important;
}

.agenko-accordion-item .accordion-header .accordion-title:hover {
  color: #9CFE4F !important;
}

.agenko-accordion-item .accordion-header .accordion-title[aria-expanded="true"] {
  color: #9CFE4F !important;
}

/* Modern Pill Toggle Button (+ / -) */
.agenko-accordion-item .accordion-header .accordion-title:after {
  content: "\f067" !important;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #E2E8F0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 18px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
}

.agenko-accordion-item:hover .accordion-header .accordion-title:after {
  background: rgba(156, 254, 79, 0.12) !important;
  border-color: rgba(156, 254, 79, 0.35) !important;
  color: #9CFE4F !important;
}

.agenko-accordion-item .accordion-header .accordion-title[aria-expanded="true"]:after {
  content: "\f068" !important;
  background: #9CFE4F !important;
  border-color: #9CFE4F !important;
  color: #0A0B0D !important;
  transform: rotate(180deg) !important;
  box-shadow: 0 0 16px rgba(156, 254, 79, 0.5) !important;
}

/* Accordion Content Body */
.agenko-accordion-item .accordion-content {
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.agenko-accordion-item .accordion-content p {
  color: #94A3B8 !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
  letter-spacing: 0.2px !important;
  margin-bottom: 4px !important;
  padding: 0 !important;
}

/* Mobile adjustments for FAQ pills */
@media (max-width: 767px) {
  .agenko-accordion-item {
    border-radius: 24px !important;
    padding: 14px 20px !important;
  }
  .agenko-accordion-item:has([aria-expanded="true"]),
  .agenko-accordion-item:has(.collapse.show),
  .agenko-accordion-item:has(.collapsing),
  .agenko-accordion-item.is-active {
    border-radius: 24px !important;
    padding: 18px 20px !important;
  }
  .agenko-accordion-item .accordion-header .accordion-title {
    font-size: 15px !important;
  }
  .agenko-accordion-item .accordion-header .accordion-title:after {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 11px !important;
    margin-left: 12px !important;
  }
}

/* =========================================================================
   3. ENTERPRISE POLICY & LEGAL PAGES DESIGN SYSTEM
   Applies to terms.php, privacy-policy.php, refund-policy.php
   ========================================================================= */
.fyn-policy-section {
  position: relative;
  z-index: 1;
  padding: 40px 0 110px;
}

.fyn-policy-sidebar {
  position: sticky;
  top: 120px;
  background: #14171C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.fyn-policy-sidebar-title {
  font-size: 12px;
  font-family: var(--fyn-code-font);
  letter-spacing: 2px;
  color: #9CFE4F;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fyn-policy-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fyn-policy-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.fyn-policy-nav-link .nav-num {
  font-family: var(--fyn-code-font);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s ease;
}

.fyn-policy-nav-link:hover {
  background: rgba(156, 254, 79, 0.07);
  border-color: rgba(156, 254, 79, 0.2);
  color: #FFFFFF;
}

.fyn-policy-nav-link:hover .nav-num {
  color: #9CFE4F;
}

.fyn-policy-content-card {
  background: #14171C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 50px 55px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

.fyn-policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fyn-policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
}

.fyn-policy-badge.active {
  background: rgba(156, 254, 79, 0.1);
  border-color: rgba(156, 254, 79, 0.3);
  color: #9CFE4F;
}

.fyn-policy-block {
  scroll-margin-top: 130px;
  margin-bottom: 45px;
}

.fyn-policy-block:last-child {
  margin-bottom: 0;
}

.fyn-policy-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.fyn-policy-num {
  font-family: var(--fyn-code-font);
  font-size: 13px;
  font-weight: 600;
  color: #9CFE4F;
  background: rgba(156, 254, 79, 0.12);
  border: 1px solid rgba(156, 254, 79, 0.3);
  padding: 4px 10px;
  border-radius: 8px;
}

.fyn-policy-block p {
  color: #94A3B8;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.fyn-policy-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fyn-policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #CBD5E1;
  font-size: 14.5px;
  line-height: 1.7;
}

.fyn-policy-list li i {
  color: #9CFE4F;
  margin-top: 5px;
  font-size: 12px;
  flex-shrink: 0;
}

.fyn-policy-callout {
  background: linear-gradient(135deg, rgba(156, 254, 79, 0.05) 0%, rgba(56, 189, 248, 0.04) 100%);
  border: 1px solid rgba(156, 254, 79, 0.25);
  border-radius: 18px;
  padding: 22px 26px;
  margin: 25px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fyn-policy-callout i {
  color: #9CFE4F;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.fyn-policy-callout p {
  margin-bottom: 0 !important;
  color: #E2E8F0 !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}

@media (max-width: 991px) {
  .fyn-policy-sidebar {
    position: static;
    margin-bottom: 35px;
  }
  .fyn-policy-content-card {
    padding: 35px 28px;
    border-radius: 24px;
  }
}

@media (max-width: 575px) {
  .fyn-policy-content-card {
    padding: 26px 18px;
    border-radius: 20px;
  }
  .fyn-policy-heading {
    font-size: 18px;
  }
}


