/* =========================
   HERO SECTION
========================= */
.hero {

  position: relative;
  padding: 100px 60px;
  overflow: hidden;
  font-family: Inter, system-ui;

  background:
    radial-gradient(circle at 85% 40%, rgba(63,120,255,0.18), transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(255,120,40,0.10), transparent 40%),
    linear-gradient(180deg, #061224 0%, #081a33 100%);

    margin-top: 50px;
}

/* =========================
   CONTAINER
========================= */
.hero-container {
  max-width: 1400px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* =========================
   LEFT
========================= */
.hero-left {
  max-width: 620px;
}

/* BADGE */
.hero-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 8px 16px;
  border-radius: 30px;

  color: #7aa6ff;
  background: rgba(70,120,255,0.12);
  border: 1px solid rgba(70,120,255,0.25);

  margin-bottom: 24px;

  /* subtle glow */
  box-shadow: 0 0 20px rgba(80,140,255,0.15);
}

/* HEADING */
.hero-left h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

/* BLUE WORD */
.hero-left h1 span {
  color: #4c8fff;
}

/* PARAGRAPH */
.hero-left p {
  font-size: 16px;
  color: #7f93b2;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* =========================
   BUTTONS
========================= */
.hero-actions {
  display: flex;
  gap: 16px;
}

/* PRIMARY */
.hero .btn-primary {
  background: #ff7a2f;
  color: #fff;
  padding: 16px 26px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 10px 30px rgba(255,120,40,0.25);
  transition: all 0.3s ease;
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  background: #ff843c;
}

/* SECONDARY */
.hero .btn-secondary {
  padding: 16px 26px;
  border-radius: 12px;
  color: #c7d2e6;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);

  transition: all 0.3s ease;
}

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* =========================
   RIGHT IMAGE
========================= */
.hero-right {
  position: relative;
}

/* IMAGE CARD */
.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);

  box-shadow: 0 30px 80px rgba(0,0,0,0.6);

  /* subtle float */
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* slight zoom effect */
 
}



/* LIGHT OVERLAY */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 30% 30%, rgba(80,140,255,0.15), transparent 60%),
    linear-gradient(to top, rgba(5,10,20,0.6), transparent);

  pointer-events: none;
}

/* =========================
   RESPONSIVE
========================= */

/* TABLET */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-left {
    margin: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-right {
    max-width: 600px;
    margin: auto;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding: 70px 20px;
  }

  .hero-left h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .hero-left p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* SMALL */
@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 32px;
  }
}

.hero-right {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 550px;          /* fixed visual size */
  min-height: 550px;
  max-height: 650px;
  border-radius: 20px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);

  box-shadow: 0 30px 80px rgba(160, 110, 110, 0.6);
  animation: floatImage 6s ease-in-out infinite;
}
/* 
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
} */

@media (max-width: 1100px) {
  .hero-right {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-image {
    height: 520px;
    min-height: 520px;
    max-height: 520px;
  }
}

@media (max-width: 768px) {
  .hero-right {
    max-width: 100%;
  }

  .hero-image {
    height: 420px;
    min-height: 420px;
    max-height: 420px;
  }
}

@media (max-width: 480px) {
  .hero-image {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }
}

.hero-right {
  width: 100%;
  max-width: 620px;
  margin-left: auto;
}

/* fx-3d should live here */
.hero-image-wrap {
  position: relative;
  width: 100%;
  border-radius: 20px;
  will-change: transform;
  transform-style: preserve-3d;
}

/* fixed visual frame */
.hero-image {
  position: relative;
  width: 100%;
  height: 600px;
  min-height: 500px;
  max-height: 600px;
  border-radius: 20px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

/* image always fills frame */
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

/* optional extra polish */
.hero-image-wrap:hover .hero-image img {
  transform: scale(1.04);
}

/* WHTS HOLDING U BACKL  */

/* =========================
   SECTION
========================= */
.legacy {
  padding: 100px 60px;
  background: #f3f4f6;
  font-family: Inter, system-ui;
}

.legacy-container {
  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* =========================
   IMAGE (FX-3D SAFE)
========================= */
.legacy-image-wrap {
  width: 100%;
  max-width: 600px;
  transform-style: preserve-3d;
}

/* fixed frame */
.legacy-image {
  width: 100%;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* image always fits */
.legacy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   CONTENT
========================= */
.legacy-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #0b1b34;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* =========================
   LIST
========================= */
.legacy-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARD */
.legacy-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;

  padding: 20px 24px;
  border-radius: 12px;

  background: #0f2747;
  color: #fff;

  border-left: 3px solid #ff7a2f;

  transition: all 0.3s ease;
}

/* HOVER */
.legacy-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ICON */
.legacy-item .icon {
  color: #ff7a2f;
  font-size: 20px;
  margin-top: 2px;
}

/* TEXT */
.legacy-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.legacy-item p {
  font-size: 14px;
  color: #c4d0e3;
  line-height: 1.6;
  max-width: 420px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .legacy-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .legacy-image-wrap {
    margin: auto;
  }

  .legacy-content {
    text-align: center;
  }

  .legacy-item {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .legacy {
    padding: 70px 20px;
  }

  .legacy-content h2 {
    font-size: 30px;
  }

  .legacy-image {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .legacy-image {
    height: 260px;
  }
}

/* =========================
   SECTION
========================= */
.backbone {
  padding: 100px 60px;
  background: linear-gradient(180deg, #071326, #081a33);
  font-family: Inter, system-ui;
}

/* =========================
   CONTAINER
========================= */
.backbone-container {
  max-width: 1300px;
  margin: auto;
}

/* =========================
   HEADER
========================= */
.backbone-header {
  text-align: center;
  margin-bottom: 60px;
}

.backbone-header h2 {
  font-size: 44px;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 12px;
}

.backbone-header p {
  color: #7f93b2;
  font-size: 16px;
}

/* =========================
   GRID
========================= */
.backbone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* =========================
   CARD
========================= */
.b-card {
  background: rgba(20, 40, 70, 0.7);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.06);

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* subtle glow border */
.b-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 20%, rgba(80,140,255,0.15), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

.b-card:hover::before {
  opacity: 1;
}

/* hover lift */
.b-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* =========================
   IMAGE
========================= */
.b-img {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
}

.b-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.b-card:hover .b-img img {
  transform: scale(1.06);
}

/* =========================
   TEXT
========================= */
.b-card h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 8px;
}

.b-card p {
  font-size: 14px;
  color: #9fb0c7;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .backbone-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .backbone {
    padding: 70px 20px;
  }

  .backbone-header h2 {
    font-size: 32px;
  }

  .backbone-grid {
    grid-template-columns: 1fr;
  }

  .b-img {
    height: 180px;
  }
}

/* =========================
   SECTION
========================= */
.growth {
  padding: 100px 60px;
  background: #f4f5f7;
  font-family: Inter, system-ui;
}

.growth-container {
  max-width: 1250px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* =========================
   TEXT
========================= */
.growth-content h2 {
  font-size: 44px;
  font-weight: 700;
  color: #0b1b34;
  line-height: 1.2;
  margin-bottom: 20px;
}

.growth-content h2 strong {
  font-weight: 800;
}

.growth-content p {
  color: #6b7a90;
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

/* =========================
   LIST
========================= */
.growth-list {
  list-style: none;
  padding: 0;
}

.growth-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: #5f6f85;
  font-size: 15px;
}

/* check icon */
.growth-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4f7cff;
  font-weight: bold;
}

/* =========================
   IMAGE (STRICT CONTROL)
========================= */
.growth-image-wrap {
  width: 100%;
  max-width: 540px;
  margin-left: auto;

  transform-style: preserve-3d;
}

/* fixed container */
.growth-image {
  width: 100%;
  height: 360px;
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
  position: relative;
}

/* image never breaks layout */
.growth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* subtle warm overlay like design */
.growth-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,120,40,0.25),
    transparent 40%
  );
  pointer-events: none;
}

/* =========================
   HOVER (SUBTLE PREMIUM)
========================= */
.growth-image-wrap:hover .growth-image {
  transform: translateY(-4px) scale(1.01);
  transition: all 0.4s ease;
}

.growth-image-wrap:hover img {
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .growth-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .growth-image-wrap {
    margin: auto;
  }

  .growth-content {
    text-align: center;
  }

  .growth-content p {
    margin: 0 auto 28px;
  }
}

@media (max-width: 768px) {
  .growth {
    padding: 70px 20px;
  }

  .growth-content h2 {
    font-size: 30px;
  }

  .growth-image {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .growth-image {
    height: 240px;
  }
}

/* CTA  */

/* =========================
   SECTION BG
========================= */
.engagement {
  padding: 100px 20px;
  background: radial-gradient(circle at center, #0b1b34 0%, #071326 100%);
  display: flex;
  justify-content: center;
  font-family: Inter, system-ui;
}

/* =========================
   CARD
========================= */
.engagement-card {
  width: 100%;
  max-width: 1000px;
  padding: 60px 60px 50px;

  border-radius: 24px;
  text-align: center;
  color: #fff;

  position: relative;
  overflow: hidden;

  /* gradient */
  background: linear-gradient(135deg, #162c4f, #0e2342);

  /* border glow */
  border: 1px solid rgba(100,140,255,0.25);

  box-shadow: 0 40px 100px rgba(0,0,0,0.5);

  transition: all 0.4s ease;
}

/* subtle animated glow */
.engagement-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(80,140,255,0.15), transparent 70%);
  opacity: 0.6;
  filter: blur(60px);
  animation: glowMove 10s linear infinite;
  z-index: 0;
}

@keyframes glowMove {
  0% { transform: translate(-10%, -10%); }
  50% { transform: translate(10%, 10%); }
  100% { transform: translate(-10%, -10%); }
}

/* keep content above */
.engagement-card > * {
  position: relative;
  z-index: 1;
}

/* =========================
   HEADER
========================= */
.engagement-header span {
  color: #6aa3ff;
  font-weight: 600;
  letter-spacing: 1px;
}

.engagement-header h2 {
  font-size: 48px;
  margin: 12px 0;
  font-weight: 800;
}

.engagement-header h2 small {
  font-size: 20px;
  color: #9fb0c7;
  font-weight: 400;
}

.engagement-header p {
  color: #a8b7cc;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================
   DIVIDER
========================= */
.divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 40px 0;
}

/* =========================
   FEATURES
========================= */
.engagement-features {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.engagement-features ul {
  list-style: none;
  padding: 0;
}

.engagement-features li {
  margin-bottom: 14px;
  color: #c8d4e6;
  position: relative;
  padding-left: 18px;
}

/* bullet */
.engagement-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffffff;
}

/* =========================
   BUTTON
========================= */
.engagement-btn {
  display: block;
  width: 100%;
  padding: 18px;
  border-radius: 12px;

  background: linear-gradient(90deg, #ff7a2f, #ff5a00);
  color: #fff;
  text-decoration: none;
  font-weight: 700;

  box-shadow: 0 15px 40px rgba(255,122,47,0.35);

  transition: all 0.3s ease;
}

/* hover */
.engagement-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255,122,47,0.5);
}

/* =========================
   FOOT NOTE
========================= */
.engagement small {
  display: block;
  margin-top: 18px;
  color: #8fa2c4;
  font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .engagement-card {
    padding: 40px 20px;
  }

  .engagement-header h2 {
    font-size: 36px;
  }

  .engagement-features {
    flex-direction: column;
    text-align: left;
  }
}

/* =========================
   SECTION
========================= */
.contact-fix {
  padding: 100px 60px;
  background: #f4f5f7;
  font-family: Inter, system-ui;
}

.contact-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* =========================
   LEFT CONTENT
========================= */
.contact-info h2 {
  font-size: 40px;
  color: #0b1b34;
  margin-bottom: 16px;
}

.contact-info p {
  color: #6b7a90;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* INFO ITEMS */
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item .icon {
  width: 42px;
  height: 42px;
  background: #e8edf5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item strong {
  display: block;
  color: #0b1b34;
}

.contact-item span {
  color: #6b7a90;
  font-size: 14px;
}

/* =========================
   FORM CARD
========================= */
.contact-form-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid #e2e6ed;

  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

/* =========================
   FORM
========================= */
.contact-form {
  display: flex;
  flex-direction: column;
}

/* GRID ROW */
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* FIELD */
.contact-form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

/* LABEL */
.contact-form label {
  font-size: 13px;
  color: #5f6f85;
  margin-bottom: 6px;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #d7dde5;
  background: #f9fafc;

  font-size: 14px;
  color: #0b1b34;

  transition: all 0.25s ease;
}

/* TEXTAREA */
.contact-form textarea {
  height: 120px;
  resize: none;
}

/* INTERACTION */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4f7cff;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(79,124,255,0.15);
}

/* =========================
   BUTTON (SAFE SCOPED)
========================= */
.contact-btn {
  margin-top: 10px;
  padding: 16px;
  border-radius: 12px;
  border: none;

  background: #0f2747;
  color: #fff;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  background: #16345f;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-info {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .contact-fix {
    padding: 70px 20px;
  }

  .contact-form .row {
    grid-template-columns: 1fr;
  }
}

/* subtle card hover */
.b-card {
  transition: all 0.35s ease;
}

.b-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* legacy items */
.legacy-item {
  transition: 0.3s ease;
}

.legacy-item:hover {
  transform: translateX(6px);
}

/* engagement card */
.engagement-card:hover {
  transform: scale(1.02);
}

/* BUTTONS? */

/* =================================
   FINAL BUTTON OVERRIDE
   put at absolute end of file
   ================================= */

.hero .btn-primary,
.hero .btn-secondary,
.cta-btn,
.northstar .form-btn,
.engagement-btn,
.contact-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    color .35s ease,
    border-color .35s ease,
    background-color .35s ease,
    background .35s ease,
    transform .28s ease,
    box-shadow .35s ease;
}

.hero .btn-primary::before,
.hero .btn-secondary::before,
.cta-btn::before,
.northstar .form-btn::before,
.engagement-btn::before,
.contact-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-102%);
  transition: transform .52s cubic-bezier(.22,1,.36,1);
  background: var(--hover-fill, transparent);
}

.hero .btn-primary::after,
.hero .btn-secondary::after,
.cta-btn::after,
.northstar .form-btn::after,
.engagement-btn::after,
.contact-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 52%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,.08) 35%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.08) 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left .65s cubic-bezier(.22,1,.36,1);
}

/* keep text above layers */
.hero .btn-primary,
.hero .btn-secondary,
.cta-btn,
.northstar .form-btn,
.engagement-btn,
.contact-btn {
  z-index: 1;
}

/* solid orange -> transparent orange border */
.hero .btn-primary,
.northstar .form-btn,
.engagement-btn {
  --hover-fill: transparent;
}

/* glass/dark -> light fill slides in */
.hero .btn-secondary,
.contact-btn {
  --hover-fill: rgba(255,255,255,.10);
}

/* white -> dark fill slides in */
.cta-btn {
  --hover-fill: rgba(17,34,63,.92);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover,
.cta-btn:hover,
.northstar .form-btn:hover,
.engagement-btn:hover,
.contact-btn:hover {
  transform: translateY(-3px);
}

.hero .btn-primary:hover::before,
.hero .btn-secondary:hover::before,
.cta-btn:hover::before,
.northstar .form-btn:hover::before,
.engagement-btn:hover::before,
.contact-btn:hover::before {
  transform: translateX(0);
}

.hero .btn-primary:hover::after,
.hero .btn-secondary:hover::after,
.cta-btn:hover::after,
.northstar .form-btn:hover::after,
.engagement-btn:hover::after,
.contact-btn:hover::after {
  left: 140%;
}

/* orange primary */
.hero .btn-primary:hover {
  background: transparent !important;
  color: #ff7a2f !important;
  border-color: #ff7a2f !important;
  box-shadow:
    0 0 0 1px rgba(255,122,47,.14),
    0 14px 30px rgba(255,120,40,.14) !important;
}

/* glass secondary */
.hero .btn-secondary:hover {
  background: rgba(255,255,255,.04) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.24) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    0 12px 26px rgba(0,0,0,.16) !important;
}

/* white CTA -> dark slide */
.cta-btn:hover {
  background: #ffffff !important;
  color: #ffffff !important;
  border-color: #11233f !important;
}

/* form orange -> transparent */
.northstar .form-btn:hover {
  background: transparent !important;
  color: #ff7a1a !important;
  border-color: #ff7a1a !important;
  box-shadow:
    0 0 0 1px rgba(255,122,26,.14),
    0 16px 32px rgba(255,122,26,.16) !important;
}

/* engagement orange -> transparent */
.engagement-btn:hover {
  background: transparent !important;
  color: #ff7a2f !important;
  border-color: #ff7a2f !important;
  box-shadow:
    0 0 0 1px rgba(255,122,47,.14),
    0 18px 38px rgba(255,122,47,.16) !important;
}

/* dark contact -> lighter slide */
.contact-btn:hover {
  background: #0f2747 !important;
  color: #ffffff !important;
  border-color: #16345f !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 14px 28px rgba(0,0,0,.16) !important;
}

.hero .btn-primary,
.hero .btn-secondary,
.cta-btn,
.northstar .form-btn,
.engagement-btn,
.contact-btn {
  border-width: 2px !important;
}

.hero .btn-primary,
.northstar .form-btn,
.engagement-btn {
  border: 2px solid #ff7a2f !important;
}

.hero .btn-secondary {
  border: 2px solid rgba(255,255,255,.22) !important;
}

.cta-btn {
  border: 2px solid rgba(255,255,255,.95) !important;
}

.contact-btn {
  border: 2px solid #16345f !important;
}

.hero .btn-primary:hover,
.northstar .form-btn:hover,
.engagement-btn:hover {
  border-width: 2px !important;
}

.hero .btn-secondary:hover {
  border: 2px solid rgba(255,255,255,.30) !important;
}

.cta-btn:hover {
  border: 2px solid #11233f !important;
}

.contact-btn:hover {
  border: 2px solid #2a4a78 !important;
}

/* ANIMATRION */

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(80,140,255,0.08), transparent 70%);
  animation: heroPulse 12s linear infinite;
  pointer-events: none;
}

@keyframes heroPulse {
  0% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.1) translate(3%, -3%); }
  100% { transform: scale(1) translate(0,0); }
}
.hero-left h1 span {
  background: linear-gradient(90deg, #4c8fff, #7aa6ff, #4c8fff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: textFlow 4s linear infinite;
}

@keyframes textFlow {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

.b-card {
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}

.b-card:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(-3deg);
}

section {
  transform: translateZ(0);
  transition: transform 0.6s ease;
}

section:hover {
  transform: scale(1.002);
}

.legacy-item {
  position: relative;
  overflow: hidden;
}

.legacy-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 3px solid transparent;
  background: linear-gradient(180deg, #ff7a2f, transparent);
  opacity: 0;
  transition: 0.3s;
}

.legacy-item:hover::after {
  opacity: 1;
}

.engagement-card {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

a, button {
  transition: all 0.25s cubic-bezier(.22,1,.36,1);
}