:root {
  --navy: #032856;
  --navy-dark: #001d42;
  --green: #4ca400;
  --green-dark: #347f00;
  --white: #ffffff;
  --soft-white: #f8fafc;
  --border: #7b8da7;
  --text: #061d40;
  --shadow: 0 18px 45px rgba(0, 29, 66, 0.18);
}

/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #edf2f7;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

/* =========================================
   MAIN SPLIT HERO
========================================= */

.heroShell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 10px;
}

.heroPanel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;

  background:
    radial-gradient(
      circle at 50% 12%,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.96) 36%,
      rgba(247, 248, 250, 0.96) 100%
    );

  box-shadow: var(--shadow);
}

/* =========================================
   DECORATIVE TOP ARCHES
========================================= */

.cornerCurve {
  position: absolute;
  width: 260px;
  height: 190px;
  z-index: 2;
  pointer-events: none;
}

.cornerCurve::before,
.cornerCurve::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 17px solid transparent;
}

.cornerCurveLeft {
  left: -86px;
  top: -90px;
}

.cornerCurveLeft::before {
  border-right-color: var(--green);
  transform: rotate(38deg);
}

.cornerCurveLeft::after {
  inset: 20px;
  border-right-color: var(--navy);
  transform: rotate(38deg);
}

.cornerCurveRight {
  right: -78px;
  top: -95px;
}

.cornerCurveRight::before {
  border-left-color: var(--green);
  transform: rotate(-37deg);
}

.cornerCurveRight::after {
  inset: 20px;
  border-left-color: var(--navy);
  transform: rotate(-37deg);
}

/* =========================================
   CIRCUIT DECORATION
========================================= */

.circuitPattern {
  position: absolute;
  left: 0;
  top: 75px;
  width: 105px;
  height: 470px;
  opacity: 0.12;

  background:
    linear-gradient(
      90deg,
      transparent 21px,
      var(--navy) 22px,
      transparent 23px
    ) 0 0 / 34px 34px,

    linear-gradient(
      0deg,
      transparent 21px,
      var(--navy) 22px,
      transparent 23px
    ) 0 0 / 34px 34px;

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 10%,
      #000 90%,
      transparent
    );
}

/* =========================================
   LEFT HERO CONTENT
========================================= */

.leftContent {
  min-height: calc(100% - 230px);
  padding: 72px 7% 32px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.welcomeText {
  align-self: flex-start;
  margin: 0 0 22px 7%;

  font-size: clamp(1.7rem, 2.8vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* =========================================
   DOT DIVIDERS
========================================= */

.dotDivider {
  width: min(430px, 80%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;

  margin: 2px auto 26px;
}

.dotDividerWide {
  width: min(580px, 90%);
  margin-top: 14px;
  margin-bottom: 24px;
}

.dividerLine {
  flex: 1;
  height: 2px;
  background: var(--green);
}

.dividerDot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.greenDot {
  background: var(--green);
}

.blueDot {
  background: var(--navy);
}

/* =========================================
   FIMITECH WORDMARK
========================================= */

/* =========================================
   FIMITECH WORDMARK
========================================= */

.brandWord {
  position: relative;
  overflow: hidden;

  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;

  font-size: clamp(5.3rem, 10.1vw, 10.4rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 900;

  text-shadow:
    0 8px 8px rgba(0, 29, 66, 0.22);
}

.brandPart {
  display: inline-block;
  opacity: 0;
}

.fi {
  color: var(--navy);
  animation: flashFI 2.4s ease infinite;
}

.mi {
  color: var(--navy);
animation: slideMI 2.4s ease 0.35s infinite;
}

.tech {
  color: var(--green);
  animation: growTECH 2.4s cubic-bezier(.2,.8,.2,1) 0.7s infinite;
}

.brandWord::after {
  content: "";

  position: absolute;
  top: 0;
  left: -150%;

  width: 65%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent
    );

  transform: skewX(-24deg);

  animation: lightSweep 0.9s ease 1.55s forwards;

  pointer-events: none;
}

@keyframes flashFI {
  0% {
    opacity: 0;
    transform: scale(0.25);
    filter: blur(18px);
  }

  65% {
    opacity: 1;
    transform: scale(1.15);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes slideMI {
  0% {
    opacity: 0;
    transform: translateX(-45px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes growTECH {
  0% {
    opacity: 0;
    transform: translateX(55px) scale(0.55);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes lightSweep {
  from {
    left: -150%;
  }

  to {
    left: 170%;
  }
}

.mi{
    color:#032856;
}

.tech{
    color:#4ca400;
}

/* =========================================
   SUPPORT HEADING
========================================= */

.supportTitle {
  margin: 0;
  text-align: center;

  font-size: clamp(1.45rem, 2.45vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.supportSubtitle {
  position: relative;

  margin: 10px 0 28px;

  color: var(--green-dark);
  font-size: clamp(1.1rem, 1.65vw, 1.55rem);
  font-weight: 800;
}

.supportSubtitle::before,
.supportSubtitle::after {
  content: "";
  position: absolute;
  top: 50%;

  width: 100px;
  height: 2px;

  background: var(--green);
}

.supportSubtitle::before {
  right: calc(100% + 26px);
}

.supportSubtitle::after {
  left: calc(100% + 26px);
}

/* =========================================
   GET STARTED BUTTON
========================================= */
.primaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-width: min(370px, 86vw);
  padding: 18px 35px;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      #05366f,
      #001d42
    );

  color: #ffffff;
  text-decoration: none;

  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;

  box-shadow:
    0 8px 0 rgba(0, 29, 66, 0.18),
    0 16px 28px rgba(0, 29, 66, 0.2);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

  /* ADD THIS LINE ↓ */
  animation: buttonPulse 2.4s ease 0.9s infinite;

}

.primaryButton:hover {
  transform: translateY(-3px);

  box-shadow:
    0 10px 0 rgba(0, 29, 66, 0.16),
    0 18px 32px rgba(0, 29, 66, 0.24);
}

.primaryButton:focus-visible {
  outline: 4px solid rgba(76, 164, 0, 0.45);
  outline-offset: 4px;
}

.buttonChevrons {
  color: var(--green);
  font-size: 1.5em;
  line-height: 0.5;
}

/* =========================================
   HERO DOTS
========================================= */

.heroDots {
  display: flex;
  gap: 22px;
  margin-top: 38px;
}

.heroDots span,
.topDots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.heroDots span:nth-child(1),
.heroDots span:nth-child(3),
.topDots i:nth-child(1),
.topDots i:nth-child(3) {
  background: var(--green);
}

.heroDots span:nth-child(2),
.topDots i:nth-child(2) {
  background: var(--navy);
}

/* =========================================
   LEFT FEATURE BAND
========================================= */

.featureBand {
  position: relative;

  min-height: 230px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;

  padding: 48px 24px 24px;

  background:
    radial-gradient(
      circle at 90% 100%,
      rgba(40, 113, 212, 0.28),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #032856,
      #001d42
    );

  color: white;

  clip-path:
    ellipse(
      94% 68% at 50% 68%
    );
}

.featureItem {
  position: relative;

  display: grid;
  justify-items: center;

  padding: 0 16px;

  text-align: center;
}

.featureItem:not(:last-child)::after {
  content: "";

  position: absolute;
  right: 0;
  top: 18%;

  width: 1px;
  height: 72%;

  background: var(--green);
}

.featureIcon {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  margin-bottom: 12px;

  border: 7px solid white;
  border-radius: 50%;

  color: var(--green);

  font-size: 2.2rem;
  font-weight: 900;
}

.featureItem p {
  margin: 0;

  font-size: clamp(0.8rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
}

/* =========================================
   RIGHT PANEL CONTENT
========================================= */

.rightContent {
  padding: 30px 5% 16px;
}

/* =========================================
   WITH HEADING
========================================= */

.withHeading {
  width: min(620px, 88%);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;

  margin: 0 auto;
}

.withHeading span {
  height: 2px;
  background: var(--green);
}

.withHeading em {
  color: var(--green-dark);

  font-family: "Pacifico", cursive;
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-style: normal;
}

/* =========================================
   TOP DOTS
========================================= */

.topDots {
  display: flex;
  justify-content: center;
  gap: 30px;

  margin: 8px 0 2px;
}

/* =========================================
   STACKED SERVICE CARDS
========================================= */

.serviceStack {
  width: 100%;
  margin: 0 auto;
}

.serviceCard {
  width: 100%;

  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 20px;

  padding: 20px 18px;

  border: 0;
  border-bottom: 2px solid rgba(76, 164, 0, 0.75);

  background: transparent;

  text-align: left;
  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.serviceCard:hover {
  background: rgba(76, 164, 0, 0.06);
  transform: translateX(4px);
}

.serviceCard:focus-visible {
  outline: 3px solid rgba(76, 164, 0, 0.45);
  outline-offset: -3px;
}

.serviceLogo {
  width: 120px;
  height: 120px;

  display: grid;
  place-items: center;
}

.serviceLogo svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navyLogo svg {
  stroke: var(--navy);
}

.greenLogo svg {
  stroke: var(--green);
}

.serviceCopy {
  display: block;

  padding-left: 28px;

  border-left: 2px solid var(--green);
}

.serviceCopy strong {
  display: block;

  margin-bottom: 5px;

  font-size: clamp(1.25rem, 2.2vw, 2.25rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.serviceCopy small {
  display: block;

  color: #111111;

  font-size: clamp(0.85rem, 1.36vw, 1.28rem);
  line-height: 1.35;
}

/* =========================================
   MORE APPS HEADING
========================================= */

.moreAppsHeading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;

  margin: 16px 0 4px;
}

.moreAppsHeading > span {
  height: 2px;
  background: var(--green);
}

.moreAppsHeading h2 {
  margin: 0;

  color: var(--navy);

  font-size: clamp(1.65rem, 2.7vw, 3rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.moreAppsHeading p {
  margin: 4px 0 0;

  color: var(--green-dark);

  font-size: clamp(0.85rem, 1.45vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* =========================================
   MORE APPS LINKS
========================================= */

.appLinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-top: 3px;
}

.appItem {
  position: relative;

  min-height: 120px;

  display: grid;
  place-items: center;
  gap: 8px;

  border: 0;
  background: transparent;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.appItem:hover {
  background: rgba(3, 40, 86, 0.05);
  transform: translateY(-3px);
}

.appItem:focus-visible {
  outline: 3px solid rgba(3, 40, 86, 0.3);
  outline-offset: -3px;
}

.appItem:not(:last-child)::after {
  content: "";

  position: absolute;
  right: 0;
  top: 18%;

  width: 1px;
  height: 64%;

  background: var(--navy);
  opacity: 0.7;
}

.miniIcon {
  color: var(--navy);

  font-size: 2.55rem;
  line-height: 1;
}

.loyaltyIcon b {
  display: inline-grid;
  place-items: center;

  width: 30px;
  height: 30px;

  margin-left: -10px;

  border-radius: 50%;

  background: var(--green);
  color: white;

  font-size: 1rem;

  vertical-align: top;
}

.appItem strong {
  font-size: clamp(0.75rem, 1.32vw, 1.15rem);
}

/* =========================================
   CONTACT BAND
========================================= */

.contactBand {
  min-height: 210px;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 28px;

  padding: 48px 5% 24px;

  background:
    radial-gradient(
      circle at 90% 90%,
      rgba(40, 113, 212, 0.26),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #032856,
      #001d42
    );

  color: white;

  clip-path:
    ellipse(
      97% 68% at 50% 68%
    );
}

.contactList {
  display: grid;
  gap: 12px;
}

.contactList a {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #ffffff;
  text-decoration: none;

  font-size: clamp(0.9rem, 1.4vw, 1.25rem);
}

.contactList a:hover {
  color: #b8ff74;
}

.contactIcon {
  color: var(--green);
  font-size: 1.2em;
}

/* =========================================
   ADDRESS LINE
========================================= */

.addressLine {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  padding-left: 28px;

  border-left: 2px solid var(--green);

  text-align: center;

  font-size: clamp(0.82rem, 1.25vw, 1.2rem);

  white-space: nowrap;
}

.addressPin {
  color: var(--green);
  font-size: 1.8rem;
}

/* =========================================
   MODAL
========================================= */

.siteModal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: none;
}

.siteModal.isOpen {
  display: block;
}

.modalBackdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 17, 40, 0.78);

  backdrop-filter: blur(5px);
}

.modalDialog {
  position: relative;
  z-index: 1;

  width: min(1180px, 94vw);
  height: min(820px, 90vh);

  margin: 5vh auto;

  overflow: hidden;

  border: 2px solid var(--green);
  border-radius: 22px;

  background: #ffffff;

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45);
}

/* =========================================
   MODAL HEADER
========================================= */

.modalHeader {
  height: 68px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 0 20px 0 26px;

  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--navy-dark)
    );

  color: #ffffff;
}

.modalHeader h2 {
  margin: 0;
  font-size: 1.2rem;
}

.modalActions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modalActions a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.modalActions a:hover {
  color: #b8ff74;
}

.modalActions button {
  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 50%;

  background: var(--green);
  color: white;

  font-size: 2rem;
  line-height: 1;

  cursor: pointer;
}

.modalActions button:hover {
  background: var(--green-dark);
}

/* =========================================
   IFRAME
========================================= */

.iframeWrap {
  position: relative;

  height: calc(100% - 68px);

  background: #f2f5f8;
}

#siteFrame {
  width: 100%;
  height: 100%;

  border: 0;

  background: white;
}

.iframeMessage {
  position: absolute;
  left: 50%;
  bottom: 14px;

  transform: translateX(-50%);

  width: max-content;
  max-width: calc(100% - 30px);

  padding: 8px 14px;

  border-radius: 999px;

  background: rgba(0, 29, 66, 0.88);
  color: white;

  font-size: 0.78rem;
  text-align: center;

  pointer-events: none;
}

body.modalOpen {
  overflow: hidden;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

  .heroShell {
    grid-template-columns: 1fr;
  }

  .brandWord {
    font-size: clamp(5rem, 17vw, 10rem);
  }

  .serviceCard {
    grid-template-columns: 130px 1fr;
  }

  .contactBand {
    grid-template-columns: 1fr 1fr;
  }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 680px) {

  .heroShell {
    gap: 10px;
    padding: 6px;
  }

  .heroPanel {
    border-radius: 20px;
  }

  .leftContent {
    padding: 60px 18px 34px;
  }

  .welcomeText {
    align-self: center;

    margin-left: 0;

    font-size: 1.65rem;
  }

  .dotDivider {
    gap: 12px;
  }

  .dividerDot {
    width: 14px;
    height: 14px;
  }

  .brandWord {
    font-size: clamp(4.1rem, 22vw, 7rem);
  }

  .supportTitle {
    font-size: 1.25rem;
  }

  .supportSubtitle::before,
  .supportSubtitle::after {
    width: 45px;
  }

  .primaryButton {
    min-width: 270px;

    padding: 15px 24px;

    font-size: 1.45rem;
  }

  /* LEFT FEATURE BAND */

  .featureBand {
    grid-template-columns: repeat(2, 1fr);

    min-height: 330px;

    padding-top: 62px;

    clip-path:
      ellipse(
        112% 70% at 50% 70%
      );
  }

  .featureItem:nth-child(2)::after {
    display: none;
  }

  .featureIcon {
    width: 58px;
    height: 58px;

    font-size: 1.7rem;
  }

  /* RIGHT CONTENT */

  .rightContent {
    padding: 26px 14px 12px;
  }

  .serviceCard {
    grid-template-columns: 82px 1fr;
    gap: 10px;

    padding: 15px 6px;
  }

  .serviceLogo {
    width: 76px;
    height: 76px;
  }

  .serviceCopy {
    padding-left: 14px;
  }

  .serviceCopy strong {
    font-size: 1.1rem;
  }

  .serviceCopy small {
    font-size: 0.76rem;
  }

  /* MORE APPS */

  .moreAppsHeading {
    gap: 10px;
  }

  .moreAppsHeading h2 {
    font-size: 1.55rem;
  }

  .moreAppsHeading p {
    font-size: 0.72rem;
  }

  .appLinks {
    gap: 4px;
  }

  .appItem {
    min-height: 105px;
  }

  .miniIcon {
    font-size: 2rem;
  }

  .appItem strong {
    font-size: 0.66rem;
  }

  /* CONTACT */

  .contactBand {
    grid-template-columns: 1fr;

    min-height: 270px;

    padding: 64px 22px 24px;

    clip-path:
      ellipse(
        125% 70% at 50% 72%
      );
  }

  .addressLine {
    min-height: auto;

    padding: 18px 0 0;

    border-left: 0;
    border-top: 2px solid var(--green);

    white-space: normal;
  }

  /* MODAL */

  .modalDialog {
    width: 96vw;
    height: 92vh;

    margin: 4vh auto;

    border-radius: 14px;
  }

  .modalHeader {
    height: 62px;

    padding: 0 10px 0 14px;
  }

  .modalActions a {
    font-size: 0.78rem;
  }

  .iframeWrap {
    height: calc(100% - 62px);
  }

}
@keyframes buttonPulse {

  0%,
  40% {
    transform: scale(1);
    box-shadow:
      0 8px 0 rgba(0,29,66,.18),
      0 16px 28px rgba(0,29,66,.20);
  }

  50% {
    transform: scale(1.08);
    box-shadow:
      0 8px 0 rgba(0,29,66,.18),
      0 0 18px rgba(76,164,0,.45),
      0 0 35px rgba(76,164,0,.35);
  }

  60% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }

}
/* TOP RIGHT HOME AND LOGIN */

.heroLeft {
  position: relative;
}

.leftTopNav {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 8px;
}

.leftNavButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;
  border-radius: 20px;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;

  white-space: nowrap;
  transition: 0.2s ease;
}

/* HOME MUST BE DARK SO IT SHOWS */
.homeNavButton {
  color: #062d5b;
  background: #eef5ff;
  border: 1px solid #062d5b;
}

/* LOGIN */
.loginNavButton {
  color: #ffffff;
  background: #062d5b;
  border: 1px solid #062d5b;
}

.leftNavButton:hover {
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .leftTopNav {
    top: 14px;
    right: 14px;
  }

  .leftNavButton {
    padding: 7px 10px;
    font-size: 9px;
  }
}