/* ============================= */
/*            FONTS              */
/* ============================= */

@font-face{
  font-family:"MrEaves";
  src:url("../font/MrEavesXLModOT-Heavy.ttf") format("truetype");
  font-weight:800;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"ProximaNova";
  src:url("../font/Proxima%20Nova%20Font.otf") format("opentype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}


/* ============================= */
/*            BASE               */
/* ============================= */

:root{
  --bg:#070A10;
  --panel: rgba(255,255,255,0.05);
  --panel2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --muted: rgba(255,255,255,0.72);
  --muted2: rgba(255,255,255,0.60);
  --accent1:#785AFF;
  --accent2:#00C8FF;
}

*{ box-sizing:border-box; }

html, body{ height:100%; }

body{
  margin:0;
  background:var(--bg);
  color:#fff;
  font-family:"ProximaNova", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x:hidden;
  position: relative;
  z-index: 0;
}

a{ color:inherit; text-decoration:none; }

.container{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
}

/* ============================= */
/*       STARFIELD LAYER         */
/* ============================= */

#starfield{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events:none;
}
html{
  scroll-behavior: smooth;
}
section{
  scroll-margin-top: 90px;
}
/* ============================= */
/*            HEADER             */
/* ============================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  display:flex;
  align-items:center;
  background: rgba(7,10,16,0.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 32px; /* breathing room */
}

.nav{
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.logo{ display:flex; align-items:center; }

.logo-img{
  height: 75px;
  width: auto;
  display:block;
}

.nav-links{
  display:flex;
  gap: 26px;
  align-items:center;
}

.nav-links a{
  color: rgba(255,255,255,0.82);
  font-weight: 500;
}

.nav-links a:hover{
  color:#fff;
}

.nav-btn{
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #000;
  font-weight: 800;
}


/* ============================= */
/*        MOBILE BURGER MENU     */
/* ============================= */

.nav-toggle{
  display:none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.burger{
  position: relative;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  display:block;
  border-radius: 2px;
}

.burger::before,
.burger::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 200ms ease, top 200ms ease, opacity 200ms ease;
}

.burger::before{ top: -6px; }
.burger::after{ top: 6px; }

/* Mobile menu panel */
.mobile-menu{
  display:none;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(7,10,16,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-menu__links{
  padding: 14px 16px 18px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.mobile-link{
  padding: 12px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.mobile-link:hover{ color:#fff; border-color: rgba(255,255,255,0.14); }

.mobile-cta{
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #000;
  font-weight: 800;
  text-align:center;
}

/* Open state */
.site-header.is-open .mobile-menu{ display:block; }

.site-header.is-open .burger{
  background: transparent;
}

.site-header.is-open .burger::before{
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .burger::after{
  top: 0;
  transform: rotate(-45deg);
}

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

@media (max-width: 720px){
  /* add breathing room on mobile */
  .site-header{
    padding: 0 16px;
  }

  /* bigger logo on mobile */
  .logo-img{
    height: 64px; /* increase size */
  }

  /* show burger, hide desktop nav */
  .nav-toggle{ display:flex; }
  .nav-links--desktop{ display:none; }

  /* keep header content aligned */
.nav {
    width: 100%;
    display: flex;
    flex-direction: row; /* Ensure it stays a row, not a column */
    justify-content: space-between; /* This pushes logo left and toggle right */
    align-items: center;
  }
}

/* ============================= */
/*            HERO               */
/* ============================= */

.hero{
  position: relative;
  padding: 160px 0 140px;
  overflow: hidden;
  background: transparent;
}

/* ✅ FIXED: full-width image layer + fade mask (no seam) */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background: url("../img/hero-banner.png") right center / cover no-repeat;
  opacity: 0.92;
  filter: brightness(0.94) saturate(0.95) contrast(1.03);

  /* Fade image into starfield towards the left */
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 78%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 78%, rgba(0,0,0,0) 100%);
}

/* Overlay gradients for legibility (also acts as fallback if mask isn't supported) */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(980px 560px at 18% 50%,
      rgba(7,10,16,0.62),
      rgba(7,10,16,0.30) 55%,
      rgba(7,10,16,0.14) 78%,
      transparent 100%
    ),
    linear-gradient(
      to left,
      rgba(7,10,16,0.06) 0%,
      rgba(7,10,16,0.18) 40%,
      rgba(7,10,16,0.48) 70%,
      rgba(7,10,16,0.70) 100%
    );
  pointer-events:none;
}

.hero .container{
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

/* breathing room */
.hero-grid{
  max-width: 760px;
  padding-left: 20px;
}

.hero-content h1,
.hero h1{
  font-family:"MrEaves", system-ui, sans-serif;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px 0;
  letter-spacing: -0.02em;
}

.hero p{
  margin: 0 0 26px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 62ch;
}

.hero-cta{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
}

.primary{
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color:#000;
  border: none;
}

.ghost{
  background: rgba(255,255,255,0.04);
  color:#fff;
}

/* ============================= */
/*         OUR PRODUCTS          */
/* ============================= */

.section-dark{
  padding: 44px 0;

  /* remove heavy dark paint */
  background: transparent;

  position: relative;
}

.section-dark::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  background:
    radial-gradient(900px 500px at 10% 20%, rgba(120,90,255,0.08), transparent 60%),
    radial-gradient(900px 500px at 90% 80%, rgba(0,200,255,0.06), transparent 60%);

  opacity:0.7;
}

.products-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;

  align-items: stretch;   /* KEY FIX */
}

.products-left h2,
.section h2,
.stats-title{
  font-family:"MrEaves";
}

.products-left h2{
  font-size: 34px;
  margin: 0 0 8px 0;
}

.products-left h3{
  margin: 0 0 28px 0;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.products-left{
  position: relative;
  padding: 18px 0;
}

/* Subtle glow + grid */
.products-left::before{
  content:"";
  position:absolute;
  inset: -22px -18px -22px -10px;
  border-radius: 26px;
  z-index: -1;
  background:
    radial-gradient(520px 380px at 10% 20%, rgba(120,90,255,0.14), transparent 70%),
    radial-gradient(520px 380px at 10% 80%, rgba(0,200,255,0.10), transparent 70%),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.06) 0,
      rgba(255,255,255,0.06) 1px,
      transparent 1px,
      transparent 26px
    );
  opacity: 0.18;
  filter: blur(0.2px);
  pointer-events: none;
}

.feature-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.feature-list strong{
  display:block;
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-list span{
  display:block;
  color: var(--muted2);
  line-height: 1.5;
}

/* ============================= */
/*  OUR SOLUTIONS – GLASS FIX   */
/* ============================= */

.feature-list li{
  padding: 20px 22px;
  border-radius: 18px;

  /* MUCH more transparent */
  background: rgba(255,255,255,0.025);

  border: 1px solid rgba(255,255,255,0.10);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

/* Glow edge on hover */
.feature-list li:hover{
  transform: translateY(-4px);
  border-color: rgba(120,90,255,0.6);
  background: rgba(255,255,255,0.045);

  box-shadow:
    0 25px 70px rgba(0,0,0,0.45),
    0 0 0 1px rgba(120,90,255,0.4),
    0 0 25px rgba(120,90,255,0.25);
}

/* Make heading more premium */
.feature-list strong{
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Better body contrast */
.feature-list span{
  color: rgba(255,255,255,0.75);
}
/* Glass grant card */
.grant-card{
  height: 100%;                 /* fill grid column */
  display:flex;
  flex-direction: column;
  justify-content: space-between; /* spreads content nicely */

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.12);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 22px;
  padding: 30px;

  box-shadow:
    0 24px 70px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.grant-card h4{
  margin: 0 0 18px 0;

  font-size: 22px;      /* smaller */
  font-weight: 700;
  letter-spacing: 0.02em;

  color: rgba(255,255,255,0.92);
}

/* Logo strip */
.grant-logos{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  margin: 14px 0 14px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

.grant-logos img{
  height: 28px;
  width: auto;
  display:block;
  opacity: 0.98;
  filter: grayscale(1) brightness(1.9) contrast(1.15);
}

.grant-logos img.logo-icp,
.grant-logos img.logo-near{
  filter: grayscale(0) brightness(2.35) contrast(1.25);
  opacity: 1;
}

.grant-logos img.logo-bsl{
  height: 22px;
  max-width: 190px;
  filter: grayscale(1) brightness(1.65) contrast(1.1);
  opacity: 0.92;
}

.grant-subtext{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.grant-list{
  margin: 0 0 18px 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.74);
}

.grant-list li{ margin: 8px 0; }
.grant-card .btn.primary{
  align-self: flex-start;     /* prevents full width stretch */
  
  padding: 12px 26px;         /* tighter */
  border-radius: 999px;       /* still pill but less chunky */

  font-size: 15px;
  font-weight: 700;

  background: linear-gradient(
    90deg,
    var(--accent1),
    var(--accent2)
  );

  color: #000;

  transition: 
    transform 200ms ease,
    box-shadow 200ms ease,
    filter 200ms ease;
}

/* refined hover */
.grant-card .btn.primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(120,90,255,0.35);
  filter: brightness(1.05);
}
/* ============================= */
/*        WHAT WE DELIVER        */
/* ============================= */

.section{
  padding: 44px 0;
}

.section h2{
  font-size: 34px;
  margin: 0 0 22px 0;
}

/* ✅ New upgraded deliver section */
.deliver{
  position: relative;
  overflow: hidden;
}

.deliver::before{
  content:"";
  position:absolute;
  inset:-40px -40px -40px -40px;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(720px 420px at 18% 35%, rgba(120,90,255,0.18), transparent 70%),
    radial-gradient(720px 420px at 78% 65%, rgba(0,200,255,0.14), transparent 72%),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.05) 0,
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 34px
    );
  opacity: 0.18;
}

.deliver .container{
  position: relative;
  z-index: 1;
}

.deliver-head{
  max-width: 820px;
  margin-bottom: 22px;
}

.deliver-sub{
  margin: 0;
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
  font-size: 16px;
}

.deliver-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.deliver-card{
  position: relative;
  border-radius: 22px;
  padding: 22px 22px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 22px 60px rgba(0,0,0,0.40);
  overflow: hidden;
  min-height: 280px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.deliver-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(120,90,255,0.55), rgba(0,200,255,0.38), rgba(255,255,255,0.10));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  pointer-events:none;
}

.deliver-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  background: radial-gradient(420px 220px at 20% 10%, rgba(255,255,255,0.10), transparent 60%);
  opacity: 0.35;
  pointer-events:none;
}

.deliver-tag{
  position:absolute;
  top: 16px;
  right: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  z-index: 2;
}

.deliver-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.92);
  background:
    radial-gradient(circle at 30% 30%, rgba(120,90,255,0.55), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(0,200,255,0.35), transparent 62%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  position: relative;
  z-index: 2;
}

.deliver-icon svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity: 0.95;
}

.deliver-card h3{
  margin: 0 0 8px 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.deliver-card p{
  margin: 0 0 12px 0;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
  position: relative;
  z-index: 2;
}

.deliver-bullets{
  list-style: none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction:column;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.deliver-bullets li{
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
  font-size: 14px;
}

.deliver-bullets li::before{
  content:"";
  position:absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  box-shadow: 0 0 0 3px rgba(120,90,255,0.12);
}

.deliver-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 28px 78px rgba(0,0,0,0.48);
}

.deliver-card:hover::before{
  opacity: 0.70;
}

/* ============================= */
/*     STATS                    */
/* ============================= */

.stats-pro{
  padding: 44px 0;
  background: transparent; /* let starfield breathe like prototype */
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stats-grid-pro{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.stat-pro{
  display:flex;
  align-items:center;
  gap: 14px;

  padding: 22px 20px;
  border-radius: 22px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);

  box-shadow:
    0 26px 80px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Add the subtle “neon” edge like your reference */
.stat-pro--glow{
  border-color: rgba(0,200,255,0.30);
  box-shadow:
    0 26px 80px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,200,255,0.22),
    0 0 28px rgba(0,200,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.stat-icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);

  box-shadow:
    0 0 24px rgba(120,90,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.08);

  flex: 0 0 44px;
}

.stat-icon svg{
  width: 22px;
  height: 22px;
  stroke: rgba(255,255,255,0.92);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.stat-body{ line-height: 1.1; }

.stat-metric{
  font-family: "MrEaves";
  font-size: 34px;
  letter-spacing: -0.02em;
  color: rgba(139,92,246,0.95); /* purple pop like prototype */
  margin-bottom: 6px;
}

.stat-label{
  color: rgba(255,255,255,0.70);
  font-size: 15px;
}

/* Hover polish */
.stat-pro:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
}

.stat-pro--glow:hover{
  border-color: rgba(0,200,255,0.42);
  box-shadow:
    0 32px 90px rgba(0,0,0,0.40),
    0 0 0 1px rgba(0,200,255,0.28),
    0 0 34px rgba(0,200,255,0.14),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Responsive */
@media (max-width: 1000px){
  .stats-grid-pro{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px){
  .stats-grid-pro{ grid-template-columns: 1fr; }
}

/* ============================= */
/*            FOOTER (NEW)       */
/* ============================= */

.site-footer.footer-new{
  padding: 70px 0 28px;
  background: transparent; /* keep starfield */
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* big rounded panel like your mock */
.footer-panel{
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr auto 0.9fr auto 0.9fr;
  gap: 34px;
  align-items: start;

  padding: 34px 34px 30px;
  border-radius: 22px;

  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 30px 90px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}

/* subtle “top + bottom” glow lines */
.footer-panel::before,
.footer-panel::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 999px;
  opacity: 0.55;
  pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(120,90,255,0.9), rgba(0,200,255,0.9), transparent);
  filter: blur(0.2px);
}
.footer-panel::before{ top: 10px; }
.footer-panel::after{ bottom: 10px; }

/* optional faint “star haze” inside footer panel */
.footer-panel .footer-col{
  position: relative;
  z-index: 1;
}

.footer-divider{
  width: 1px;
  height: 100%;
  min-height: 170px;
  background: rgba(255,255,255,0.10);
  align-self: stretch;
  opacity: 0.7;
}

.footer-brand-top{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-mark{
  height: 60px;   /* increase */
  width: auto;
  display:block;
  opacity: 0.95;
}

.footer-brand-name{
  font-family:"MrEaves", system-ui, sans-serif;
  letter-spacing: 0.06em;
  font-size: 18px;
  color: rgba(255,255,255,0.88);
}

.footer-tagline{
  margin: 0 0 18px 0;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  max-width: 40ch;
}

.footer-contact-title{
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  margin: 0 0 8px 0;
  font-size: 18px;
}

.footer-email{
  display:inline-block;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.78);
}
.footer-email:hover{ color:#fff; }

.footer-title{
  font-weight: 800;
  font-size: 18px;
  margin: 4px 0 14px 0;
  color: rgba(255,255,255,0.92);
}

.footer-link{
  display:block;
  margin: 10px 0;
  color: rgba(255,255,255,0.70);
  transition: color 180ms ease, transform 180ms ease;
}
.footer-link:hover{
  color:#fff;
  transform: translateX(2px);
}

/* Social pills (X + LinkedIn) */
/* Footer social icons (PNG) */
.footer-social{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 12px;
}

/* Social icons container stays same */
.social-icon{
  width: 52px;     /* slightly bigger container */
  height: 52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 200ms ease;
}

/* Default icon size */
.social-icon img{
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Make X slightly larger to visually balance LinkedIn */
.social-icon img[src*="X_logo"]{
  width: 30px;
  height: 30px;
}

.social-icon:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  box-shadow:
    0 18px 44px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.08);
}


/* Slightly larger LinkedIn tends to look balanced */
.social-icon img[ src*="LinkedIn" ],
.social-icon img[ src*="linkedin" ]{
  width: 24px;
  height: 24px;
}

.social-pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);

  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.social-pill svg{
  width: 18px;
  height: 18px;
  display:block;
  opacity: 0.95;
}

.social-pill:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color:#fff;
}

.footer-bottom{
  text-align:center;
  margin-top: 18px;
  padding-top: 16px;
  color: rgba(255,255,255,0.55);
}

/* Responsive */
@media (max-width: 980px){
  .footer-panel{
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px;
  }
  .footer-divider{
    width: 100%;
    height: 1px;
    min-height: 1px;
  }
}

/* ============================= */
/*    REVEAL + HOVER MOTION      */
/* ============================= */

[data-reveal]{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.is-visible{
  opacity: 1;
  transform: translateY(0);
}


/* ============================= */
/*           CONTACT PAGE        */
/* ============================= */

.contact-section{
  padding: 100px 0;
}

.contact-container{
  max-width: 620px;
}

.contact-sub{
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap: 20px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.form-group input,
.form-group textarea{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus{
  border-color: rgba(120,90,255,0.6);
}

.contact-social{
  margin-top: 30px;
  display:flex;
  gap: 14px;
}

.contact-social img{
  width: 28px;
  height: 28px;
  transition: transform 200ms ease;
}

.contact-social img:hover{
  transform: translateY(-3px);
}
/* ============================= */
/*           RESPONSIVE          */
/* ============================= */

@media (max-width: 1000px){
  .products-grid,
  .deliver-cards,
  .stats-grid,
  .footer-grid{
    grid-template-columns: 1fr;
  }

  .hero{
    padding: 110px 0 80px;
  }

  /* Mobile: image still full width, fade to bottom not left */
  .hero::after{
    background-position: center;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
  }

  .hero-grid{
    max-width: 820px;
    padding-left: 0;
  }
}

@media (max-width: 720px){
  .section,
  .section-dark,
  .stats{
    padding: 48px 0;
        }
  .site-header{
    height: auto;
    padding: 12px 0;
  }

  .nav{
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links{
    flex-wrap: wrap;
    gap: 14px;
  }

  .logo-img{
    height: 52px;
  }

  .grant-logos{
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .grant-logos img{
    height: 24px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}