/*global css for every page*/

:root{
  --bg-dark: #0b0f1a;
  --bg-dark-2: #131a27;
  --bg-offwhite: #f7f7f4;
  --bg-soft: #eceff3;
  --bg-white: #ffffff;
  --bg-brand-soft: #f4f0ff;
  --bg-brand-panel: #1a1530;

  --text-dark: #1f2333;
  --text-soft: #5e6473;
  --text-muted: #8b92a5;

  --text-light: #eef2fb;
  --text-light-soft: #c7d2ea;

  --purple: #6f5bd3;
  --purple-dark: #4c3ac7;
  --green: #45b266;
  --green-dark: #2f8c4a;
  --neon-green: #76ff7a;
  --teal:#00d9ff;
  --red: #c95d5d;

  --border-light: #e4e7ec;
  --border-dark: rgba(255,255,255,.10);

  --radius: 24px;
  --shadow-soft: 0 18px 40px rgba(15,23,42,.06);
  --shadow-dark: 0 18px 50px rgba(0,0,0,.28);

  --container: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Space Grotesk",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text-light);
  background:
    radial-gradient(1200px 800px at 15% 20%, #8b3dff22, transparent 55%),
    radial-gradient(900px 650px at 85% 30%, #00ffa81b, transparent 55%),
    radial-gradient(900px 650px at 70% 90%, #00d9ff1b, transparent 55%),
    linear-gradient(180deg,var(--bg-dark),var(--bg-dark-2));
  overflow-x:hidden;
}

.container{
  width:min(1520px,92vw);
  margin:0 auto;
}


a{color:inherit;text-decoration:none}
a:hover{opacity:.95}
.skip{
  position:absolute;left:-999px;top:10px;
  background:#fff;color:#000;padding:10px 12px;border-radius:12px;
}
.skip:focus{left:10px;z-index:9999}




/*nav section */

.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg,#07090ccc,#07090c88);
  border-bottom: 1px solid var(--text-dark);
}
.nav{
  width:100%;
  margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{display:flex;align-items:center;gap:10px}
.brand__mark{margin-left: 2rem; width:70px;height:70px;filter: drop-shadow(0 0 18px #00ffa840)}
.brand__name{font-weight:700;letter-spacing:.4px; font-size: larger;}
.nav__links{display:flex;align-items:center;gap:30px; margin-right:2rem;}
.nav__links a{color:var(--text-light);font-weight:600}
.nav__links a:hover{color:var(--purple-dark)}
.nav__toggle{
  display:none;
  width:44px;height:44px;border-radius:14px;
  background: #0f1218aa;border:1px solid var(--border-dark);
  box-shadow: var(--shadow-soft);
  align-items:center;justify-content:center;gap:4px;
}
.nav__toggle span{display:block;width:18px;height:2px;background:var(--text-light
  );opacity:.9;border-radius:4px}

  .nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  line-height: 0;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-light);
}

  @media (max-width: 900px) {
  .nav {
    padding: 12px 16px;
  }

  .brand__mark {
    margin-left: 0;
    width: 52px;
    height: 52px;
  }

  .brand__name {
    font-size: 1rem;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    display: none;
    margin-right: 0;
  }
}
@media (max-width: 900px) {
  .nav {
    position: relative;
    padding: 12px 16px;
  }

  .brand__mark {
    margin-left: 0;
    width: 54px;
    height: 54px;
  }

  .brand__name {
    font-size: 1rem;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__toggle span {
    background: var(--text-light);
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(11, 15, 26, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;

    margin-right: 0;
    z-index: 100;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__links a {
    width: 100%;
  }

  .nav__links .hex-btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================
   STICKY NAV 
========================= */

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999999 !important;
  background: rgba(7, 9, 12, 0.96);
}

.nav {
  position: relative;
  z-index: 10000;
}

main,
section,
.hero,
.hero__fx,
.webdev-interactive-zone,
.webdev-circuit-canvas {
  position: relative;
}

.hero__fx,
.webdev-circuit-canvas {
  z-index: 0;
  pointer-events: none;
}
.site-header {
  z-index: 9999;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(7, 9, 12, 0.96);
  }

  .nav__links {
    z-index: 10001;
  }
}


/*button section*/

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 34px;
  font-weight: 700;
  font-size: 1.05rem;

  text-decoration: none;

  color: #1f2333;
  background: transparent;

  transition: 0.25s ease;
}

/* =========================
   HEX BUTTON SYSTEM
   ========================= */

/* base */
.cta-btn.hex-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 58px;
  padding: 0 36px;

  background: transparent;
  text-decoration: none;
  border: none;
  border-radius: 0;

  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;

  overflow: visible;
  isolation: isolate;
  transition: transform 0.2s ease;
}

.cta-btn.hex-btn span {
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* shared hex shape */
.cta-btn.hex-btn::before,
.cta-btn.hex-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(
    10% 0%,
    90% 0%,
    100% 50%,
    90% 100%,
    10% 100%,
    0% 50%
  );
  transition: all 0.25s ease;
}

/* =========================
   PRIMARY = filled purple
   ========================= */
.cta-btn.hex-primary {
  color: #ffffff;
}

.cta-btn.hex-primary span {
  color: #ffffff;
}

.cta-btn.hex-primary::before {
  background: #6f5bd3;
  z-index: 0;
}

.cta-btn.hex-primary::after {
  display: none;
}

.cta-btn.hex-primary:hover {
  transform: translateY(-2px);
}

.cta-btn.hex-primary:hover::before {
  background: linear-gradient(135deg, #6f5bd3, #7c6ae6);
  box-shadow: 0 14px 30px rgba(111, 91, 211, 0.25);
}

/* =========================
   SECONDARY = text at rest
   full hex outline appears on hover
   ========================= */
.cta-btn.hex-outline {
  color: #ffffff;
}

.cta-btn.hex-outline span {
  color: #ffffff;
}

/* hidden outer shell */
.cta-btn.hex-outline::before {
  background: #6f5bd3;
  opacity: 0;
  z-index: 0;
  box-shadow: none;
}

/* hidden inner cutout */
.cta-btn.hex-outline::after {
  inset: 3px;
  background: #0b0f1a; /* match your dark hero bg */
  opacity: 0;
  z-index: 1;
}

.cta-btn.hex-outline:hover {
  transform: translateY(-2px);
}

.cta-btn.hex-outline:hover::before {
  opacity: 1;
  box-shadow: 0 14px 30px rgba(111, 91, 211, 0.18);
}

.cta-btn.hex-outline:hover::after {
  opacity: 1;
}

/*footer section*/
.footer {
  padding: 84px 0 36px;
  background: var(--bg-dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 64px;
  align-items: start;
}

.footer__left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 420px;
}

.footer__mark {
  width: 46px;
  height: 46px;
  display: block;
  flex-shrink: 0;
}

.footer__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 12px;
}

.footer__tag {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer__socials a:hover {
  color: #ffffff;
  background: rgba(111, 91, 211, 0.16);
  border-color: rgba(111, 91, 211, 0.36);
  transform: translateY(-2px);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 14px;
}

.footer__legal a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: #6f5bd3;
}

.footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

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

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__heading {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.footer__column a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
  transition: color 0.2s ease;
}

.footer__column a:hover {
  color: #6f5bd3;
}

.footer__hours {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .footer__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .footer__right {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .footer__column:nth-child(3) { order: 1; }
  .footer__column:nth-child(1) { order: 2; }
  .footer__column:nth-child(2) { order: 3; }

  .footer__left {
    order: 4;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}


/* =========================
   REVIEWS SECTION FINAL CLEAN
========================= */

.reviews-section {
  padding: 100px 0;
  background: var(--bg-soft);
  color: var(--text-dark);
}

.reviews-heading {
  text-align: center;
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 14px;
  color: var(--text-dark);
}

.reviews-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.reviews-viewport {
  max-width: 1120px;
  height: 420px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: scrollReviews 16s linear infinite;
}

.reviews-viewport:hover .reviews-track {
  animation-play-state: paused;
}

@keyframes scrollReviews {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-50% - 14px));
  }
}

.review-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,255,0.92));
  border: 1px solid rgba(31, 35, 51, 0.10);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(69, 178, 102, 0.25);
  box-shadow:
    0 38px 90px rgba(15, 23, 42, 0.18),
    0 0 40px rgba(69, 178, 102, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.review-card::before {
  content: "“";
  position: absolute;
  top: -34px;
  right: 26px;
  font-size: 9rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(111, 91, 211, 0.10);
  pointer-events: none;
}

.review-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--purple), var(--teal), var(--green));
}

.review-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3f4656;
}

.review-card__footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(31, 35, 51, 0.08);
}

.review-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--green-dark);
  white-space: nowrap;
}

.review-name::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.review-proof-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(111, 91, 211, 0.08);
  border: 1px solid rgba(111, 91, 211, 0.18);
  font-weight: 800;
  color: var(--purple-dark);
  text-decoration: none;
  white-space: nowrap;
}

.review-proof-link:hover {
  background: rgba(69, 178, 102, 0.10);
  color: var(--green-dark);
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 72px 0;
  }

  .reviews-viewport {
    height: auto;
    overflow: visible;
  }

  .reviews-track {
    animation: none;
  }

  .review-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .review-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =========================
   GLOBAL MOBILE SAFETY
========================= */

img,
svg,
canvas,
video {
  max-width: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


@media (max-width: 768px) {
  body {
    background:
      radial-gradient(700px 500px at 20% 10%, #8b3dff18, transparent 55%),
      radial-gradient(600px 450px at 85% 30%, #00ffa812, transparent 55%),
      linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
  }

  .container {
    width: min(100% - 32px, 1520px);
  }

  .cta-btn.hex-btn {
    width: 100%;
    min-height: 54px;
    padding: 0 22px;
    font-size: 0.95rem;
  }

  .footer {
    padding: 64px 0 32px;
  }
}

@media (max-width: 480px) {
  .brand__mark {
    width: 48px;
    height: 48px;
  }

  .brand__name {
    font-size: 0.95rem;
  }

  .nav {
    padding: 10px 14px;
  }
}

