:root {
  --fc-navy: #0f0e33;
  --fc-navy-2: #1c1060;
  --fc-purple: #7e257e;
  --fc-purple-dk: #641d64;
  --fc-teal: #7BC0CF;
  --fc-text: #4a5068;
  --fc-border: #e4e8f0;
  --fc-bg-light: #f5f7fc;
  --fc-radius: 14px;
  --fc-shadow: 0 12px 28px rgba(15, 14, 51, .12);
}

.forticode-page {
  color: var(--fc-text);
  overflow-wrap: break-word;
}

.forticode-page section {
  scroll-margin-top: 90px;
}

.forticode-page p {
  font-size: 1rem;
}

/* ── BUTTONS ── */
.forticode-page .btn-forticode,
.forticode-page .btn-forticode:visited {
  display: inline-block;
  padding: .65rem 1.6rem;
  border: 2px solid var(--fc-purple);
  border-radius: 8px;
  background: var(--fc-purple);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  transition: background .2s, border-color .2s, transform .2s;
}

.forticode-page .btn-forticode:hover,
.forticode-page .btn-forticode:focus {
  border-color: var(--fc-purple-dk);
  background: var(--fc-purple-dk);
  color: #fff;
  transform: translateY(-2px);
}

/* ── SHARED ── */
.fc-section {
  padding: 3.5rem 0;
  background: #fff;
}

.fc-section-alt {
  background: var(--fc-bg-light);
}

.fc-heading {
  max-width: 720px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.fc-heading h2,
.fc-title {
  margin-bottom: 1rem;
  color: var(--fc-navy);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
}

.fc-heading p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.65;
}

/* ── HERO ── */
.fc-hero {
  position: relative;
  padding: 3.5rem 0 3.25rem;
  background: linear-gradient(135deg, var(--fc-navy) 0%, var(--fc-navy-2) 100%);
  color: #fff;
  overflow: hidden;
}

.fc-hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 37, 126, .45), transparent 70%);
  pointer-events: none;
}

.fc-hero .container {
  position: relative;
}

.fc-hero h1 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
}

.fc-hero-lead {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, .85);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ── STEPS ── */
.fc-steps {
  position: relative;
}

.fc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.5rem 1.1rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--fc-radius);
  text-align: center;
  transition: transform .25s ease, background .25s ease;
}

.fc-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .11);
}

.fc-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: rgba(123, 192, 207, .16);
  color: var(--fc-teal);
}

.fc-step-icon .material-symbols-outlined {
  font-size: 1.9rem;
}

.fc-step .step-num {
  margin: 0 0 .35rem;
  color: var(--fc-teal);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fc-step p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: .95rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .fc-steps .fc-step-col {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* ── AT OUR CORE ── */
.fc-core-img {
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
}

.fc-core-img img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* ── PRODUCTS ── */
.fc-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.1rem;
  background: #fff;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: 0 2px 8px rgba(15, 14, 51, .04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.fc-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--fc-shadow);
}

.fc-product-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  margin-bottom: 1rem;
  background: var(--fc-bg-light);
  border-radius: 10px;
}

.fc-product-logo img {
  max-width: 80%;
  max-height: 56px;
  object-fit: contain;
}

.fc-product p {
  flex-grow: 1;
  margin-bottom: 1rem;
  font-size: .85rem;
  line-height: 1.6;
}

.fc-product .btn {
  align-self: flex-start;
}

/* ── ENTERPRISE ── */
.fc-enterprise-logo {
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.fc-lead-text {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.fc-cta-box {
  max-width: 720px;
  margin: 2.25rem auto 0;
  padding: 2rem 2rem 2.1rem;
  background: linear-gradient(135deg, var(--fc-navy) 0%, var(--fc-navy-2) 100%);
  border-radius: var(--fc-radius);
  color: #fff;
  text-align: center;
}

.fc-cta-box h3 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
}

.fc-cta-box .btn-forticode {
  border-color: #fff;
  background: #fff;
  color: var(--fc-navy);
}

.fc-cta-box .btn-forticode:hover {
  border-color: var(--fc-purple);
  background: var(--fc-purple);
  color: #fff;
}

/* ── DIFFERENTIATORS ── */
.fc-diff {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .25s ease;
}

.fc-diff:hover {
  transform: translateY(-4px);
}
