/* Dark-only premium palette */
:root {
  --bg: #0b0f1a;
  /* deep navy */
  --surface: rgba(13, 18, 32, 0.7);
  --text: #e6eaf2;
  /* off-white */
  --muted: #9aa4b2;
  /* cool gray */
  --ring: rgba(148, 163, 184, 0.22);
  --border: rgba(148, 163, 184, 0.16);
  --hover: rgba(255, 255, 255, 0.06);
  --accent-1: #8b5cf6;
  /* violet */
  --accent-2: #d946ef;
  /* fuchsia */
  --accent-3: #f59e0b;
  /* luxe gold */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --blur: saturate(160%) blur(10px);
  --nav-h: 64px;
  /* navbar height */
}

/* Base */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Reserve space equal to navbar height when scrolling to anchors */
html {
  scroll-behavior: smooth;
  /* enables smooth scroll */
  scroll-padding-top: var(--nav-h);
  /* offset for sticky navbar */
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  padding-top: var(--nav-h);
  /* pushes content below fixed navbar */
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* Navbar */
.navbar-wrap {
  position: fixed;
  /* change from sticky to fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* higher so it stays above everything */
  backdrop-filter: var(--blur);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  height: var(--nav-h);
}

/* Spacer grows to push left and right apart */
.nav-spacer {
  flex: 1;
}

/* Brand */
/* === Brand container === */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Round badge that holds the logo */
.brand-mark {
  width: 48px;
  /* adjust size as needed */
  height: 48px;
  border-radius: 50%;
  /* makes it a perfect circle */
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* ensures logo stays inside the circle */
  box-shadow: var(--shadow);
  position: relative;
}

/* Optional subtle ring around the logo */
.brand-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ring);
}

/* The logo image itself */
.brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* round image itself */
  object-fit: cover;
  /* makes image fill the circle */
}

/* === Brand texts next to round logo === */
.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title .name {
  font-size: 18px;
  font-family: sans-serif;
  /* main brand name size */
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  /* main text color */
}

.brand-title .tagline {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--muted);
  /* lighter, subtle */
  margin-top: 2px;
}


/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  color: #dde3ee;
}

.nav-link:hover,
.nav-link:focus-visible {
  outline: none;
  background: var(--hover);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  color: #eef2f8;
}

.drop-btn:hover,
.drop-btn:focus-visible {
  outline: none;
  background: var(--hover);
}

.chev {
  width: 18px;
  height: 18px;
}

.drop-menu {
  position: absolute;
  right: 0;
  margin-top: 8px;
  width: 224px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(17, 23, 39, 0.95);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.dropdown:focus-within .drop-menu,
.dropdown:hover .drop-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.drop-item {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #e6eaf2;
}

.drop-item:hover {
  background: var(--hover);
}

/* Right side actions */
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Toggle (hamburger) button animation & active bg */
.menu-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
}

.menu-btn:hover,
.menu-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring);
}

.menu-icon,
.close-icon {
  width: 20px;
  height: 20px;
  color: #e6eaf2;
}

.close-icon {
  display: none;
}

.menu-btn.active {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transform: scale(0.98);
}

.menu-btn.active .menu-icon {
  display: none;
}

.menu-btn.active .close-icon {
  display: block;
}

/* Drawer (overlay + right panel) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  /* under navbar (60) */
  pointer-events: none;
  /* disabled until open */
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: saturate(140%) blur(4px);
  opacity: 0;
  transition: opacity .18s ease;
}

.drawer__panel {
  position: absolute;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  width: min(86vw, 340px);
  background: rgba(13, 18, 32, 0.96);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.drawer__inner {
  height: 100%;
  overflow-y: auto;
  padding: 10px;
}

.m-item {
  display: block;
  padding: 14px 12px;
  color: #e6eaf2;
  border-radius: 12px;
}

.m-item:hover {
  background: var(--hover);
}

.m-divider {
  height: 1px;
  margin: 6px 0;
  background: var(--border);
}

/* Open state (data attribute) */
.drawer[data-open="true"] {
  pointer-events: auto;
}

.drawer[data-open="true"] .drawer__backdrop {
  opacity: 1;
}

.drawer[data-open="true"] .drawer__panel {
  transform: translateX(0);
}

/* Demo hero */
.demo {
  padding: 64px 16px;
}

.hero {
  padding: 40px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 42px;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.spacer {
  height: 60vh;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-btn {
    display: none;
  }
}

/* ============ Small mobile only (<= 767px) ============ */
@media (max-width: 767px) {

  /* Drawer panel sits at very top of screen */
  .drawer__panel {
    top: 13;
    /* override var(--nav-h) */
  }

  /* Start content from the top, center horizontally */
  .drawer__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* from the very top */
    align-items: center;
    /* centered horizontally */
    text-align: center;
    gap: 10px;
    padding: 16px 12px 24px;
  }

  /* Centered, touch-friendly links */
  .m-item {
    width: 100%;
    max-width: 260px;
    padding: 14px 16px;
    border-radius: 12px;
    transition:
      transform .14s ease,
      box-shadow .22s ease,
      background-color .18s ease,
      filter .18s ease;
  }

}

/* ===== Hero Section ===== */
.hero {
  padding: 80px 0;
  border-bottom: 0px solid var(--border);
  padding-bottom: 0px;
}

.hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Left side text */
.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 700;
}

.hero-text h1 span {
  background: linear-gradient(135deg,
      var(--accent-1),
      var(--accent-2) 55%,
      var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
}

/* Call-to-action button */
.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg,
      var(--accent-1),
      var(--accent-2) 55%,
      var(--accent-3));
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Right side image */
.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-img img {
  max-width: 60%;
  height: auto;
  border-radius: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-wrap {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    order: 1;
  }

  .hero-img {
    order: 2;
    margin-top: 24px;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ==========================================================
   TEAM SECTION — Colorful Heading + New Card Design (CSS only)
   ========================================================== */

/* ---- Section spacing ---- */
.team {
  padding: 6px 0;
}

/* ---- Heading: colorful gradient title + soft subtitle ---- */
.team-head {
  text-align: center;
  margin: 0 0 28px;
}

.team-head h2 {
  --c1: #9d6bff;
  --c2: #38bdf8;
  --c3: #34d399;
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0.1px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* gradient-filled text */
}

.team-head .accent-bar {
  width: 84px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
  opacity: .85;
}

.team-head p {
  margin: 12px auto 0;
  max-width: 640px;
  color: var(--muted, rgba(255, 255, 255, .72));
  font-size: 14px;
  font-weight: 400;
  /* lighter text */
}

/* ---- Grid: 2 per row (mobile) → 3 per row (desktop) ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Extra small phones: keep buttons/cards comfy */
@media (max-width: 360px) {
  .team-grid {
    gap: 12px;
  }

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

  /* stack buttons if very narrow */
}

/* ---- Card: new design
   - “badge” top with avatar overlap
   - softer shadow, rounded corners
   - simple hover lift + border tint
----------------------------------------------------------- */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .10) inset,
    0 16px 48px rgba(0, 0, 0, .44);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
  padding: 16px;
}

/* top badge strip */
.team-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 88px;
  background: linear-gradient(90deg, rgba(157, 107, 255, .25), rgba(56, 189, 248, .25), rgba(52, 211, 153, .25));
  filter: blur(.2px);
}

/* card content area */
.team-card .content {
  padding: 64px 14px 14px;
  /* space for the top badge & avatar overlap */
  text-align: center;
}

/* subtle hover */
.team-card:hover,
.team-card:focus-within {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .14) inset,
    0 22px 64px rgba(0, 0, 0, .56);
  border-color: rgba(255, 255, 255, .18);
}

/* ---- Avatar: overlaps the badge strip ---- */
.avatar {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 18px auto -44px;
  /* pull it down into the content area */
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, .25),
    0 10px 24px rgba(0, 0, 0, .45);
  outline: 2px solid rgba(255, 255, 255, .28);
  outline-offset: 0;
  transition: transform .15s ease, outline-color .2s ease, box-shadow .2s ease;
}

.team-card:hover .avatar,
.team-card:focus-within .avatar {
  transform: translateY(-1px);
  outline-color: rgba(255, 255, 255, .38);
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, .28),
    0 14px 30px rgba(0, 0, 0, .55);
}

/* ---- Text: lighter weights per your request ---- */
.member-name {
  font-size: 17px;
  font-weight: 600;
  /* decreased from bold-heavy */
  letter-spacing: .1px;
  margin: 52px 0 2px;
  margin-left: 15px;
  /* space after the overlapping avatar */
}

.member-role {
  margin: 0 0 12px;
  color: var(--muted, rgba(255, 255, 255, .72));
  font-size: 13px;
  font-weight: 400;
  margin-left: 15px;
  /* lighter */
}

/* ---- Buttons: consistent sizing, no overflow ---- */
.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.btn {
  width: 100%;
  min-width: 0;
  /* critical to prevent overflow */
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 12.5px;
  /* a bit smaller */
  font-weight: 700;
  /* lighter than before */
  letter-spacing: .15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .20);
}

/* Brand colors */
.btn-linkedin {
  background: #0a66c2;
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}

.btn-linkedin:hover,
.btn-linkedin:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 20px rgba(10, 102, 194, .35);
  outline: none;
}

.btn-github {
  background: #181717;
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}

.btn-github:hover,
.btn-github:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 10px 20px rgba(24, 23, 23, .45);
  outline: none;
}

/* ---- Simple appear animation (cards only) ---- */
.team-card {
  animation: team-appear .45s ease both;
}

.team-card:nth-child(2) {
  animation-delay: .05s
}

.team-card:nth-child(3) {
  animation-delay: .10s
}

.team-card:nth-child(4) {
  animation-delay: .15s
}

.team-card:nth-child(5) {
  animation-delay: .20s
}

.team-card:nth-child(6) {
  animation-delay: .25s
}

@keyframes team-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Motion safety ---- */
@media (prefers-reduced-motion: reduce) {

  .team-card,
  .avatar,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ===================== RESOURCES SECTION (FULL CSS) ===================== */

/* Section + centered container with left/right gap */
.resources {
  padding: 0px 0;
}

.resources .res-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
  /* page margins */
}

/* ----- Section heading (colorful) ----- */
.res-head {
  text-align: center;
  margin-bottom: 26px;
}

.res-head h2 {
  --c1: #9d6bff;
  --c2: #38bdf8;
  --c3: #34d399;
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 43px;
  padding-top: 20px;
}

.res-head .res-accent {
  width: 88px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
}

.res-head p {
  margin: 10px auto 0;
  max-width: 680px;
  color: var(--muted, rgba(255, 255, 255, .72));
  font-size: 14px;
}

/* ----- Category blocks ----- */
.res-group {
  margin-top: 28px;
}

.res-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .24px;
  color: rgba(255, 255, 255, .86);
  text-transform: uppercase;
}

/* ----- Grid: 3 on mobile, 6 on desktop ----- */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 1024px) {
  .res-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
}

/* Super narrow phones */
@media (max-width: 360px) {
  .res-grid {
    gap: 10px;
  }
}

/* ----- Card (anchor) ----- */
.res-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 8px;

  padding: 14px 10px 12px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text, #fff);

  /* glass surface + subtle depth */
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .10) inset, 0 12px 36px rgba(0, 0, 0, .42);

  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  overflow: hidden;
}

/* gradient border overlay (very subtle) */
.res-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .10));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .85;
}

/* Hover + focus */
.res-card:hover,
.res-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 18px 48px rgba(0, 0, 0, .52);
  outline: none;
}

.res-card:focus-visible {
  box-shadow: 0 0 0 2px var(--ring, rgba(255, 255, 255, .30)), 0 18px 48px rgba(0, 0, 0, .52);
}

/* ----- Icon image (use a real <img> in HTML) ----- */
.res-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
  /* fills behind transparent SVGs */
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 4px 12px rgba(0, 0, 0, .35);
  user-select: none;
  -webkit-user-drag: none;
}

/* ----- Name text ----- */
.res-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 360px) {
  .res-name {
    font-size: 12px;
  }
}

/* ----- Motion safety ----- */
@media (prefers-reduced-motion: reduce) {
  .res-card {
    transition: none !important;
    transform: none !important;
  }
}

/* ===================== Hackathon (unique, no-user-input) ===================== */
.hacku {
  padding: 50px 0;
}

.hacku .hacku-wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

/* Header */
.hacku-head {
  text-align: center;
  margin-bottom: 24px;
}

.hacku-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .28px;
  text-transform: uppercase;
  color: var(--muted, rgba(255, 255, 255, .72));
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 6px 10px;
  border-radius: 999px;
}

.hacku-title {
  margin: 10px 0 8px;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: .2px;
  background: linear-gradient(90deg, #9d6bff, #38bdf8, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hacku-title .sparkle {
  font-size: .8em;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .45));
  animation: sparkle 2.2s ease-in-out infinite;
}

.hacku-sub {
  margin: 8px auto 0;
  max-width: 760px;
  color: var(--muted, rgba(255, 255, 255, .78));
  font-size: 15px;
}

@keyframes sparkle {

  0%,
  100% {
    transform: translateY(-1px) rotate(0deg);
    opacity: .85
  }

  50% {
    transform: translateY(0) rotate(18deg);
    opacity: 1
  }
}

/* Animated band */
.hacku-band {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  border-radius: 12px;
  padding: 8px 0;
  margin: 18px 0 22px;
  position: relative;
}

.hacku-band .band-track {
  display: inline-flex;
  gap: 24px;
  white-space: nowrap;
  padding-inline: 16px;
  animation: band-scroll 18s linear infinite;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, .85);
}

@keyframes band-scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* Panel layout */
.hacku-panel {
  position: relative;
  display: grid;
  gap: 16px;
  align-items: stretch;
  grid-template-columns: 1fr;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .10) inset, 0 24px 64px rgba(0, 0, 0, .45);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hacku-panel {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* Subtle corner accents (no images) */
.hacku-panel::before,
.hacku-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 220px;
  height: 220px;
  pointer-events: none;
  background: conic-gradient(from 230deg, rgba(255, 255, 255, .18), transparent 40%);
  filter: blur(16px);
  opacity: .25;
  transform: translate(40px, 40px) rotate(4deg);
}

.hacku-panel::before {
  left: -60px;
  top: -60px;
  right: auto;
  bottom: auto;
  transform: translate(-40px, -40px) rotate(-6deg);
}

/* Left column (stats + tags) */
.panel-left {
  padding: 18px 16px 16px;
  display: grid;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 899.9px) {
  .panel-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .10) inset;
}

.stat svg {
  opacity: .9
}

.stat-k {
  margin: 0;
  font-weight: 800;
  letter-spacing: .2px;
}

.stat-l {
  margin: 0;
  color: var(--muted, rgba(255, 255, 255, .75));
  font-size: 12.5px;
}

.tags {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Right column (notice + placeholders) */
.panel-right {
  padding: 18px 16px 16px;
  display: grid;
  gap: 12px;
}

.notice-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
}

.notice-sub {
  margin: 0;
  color: var(--muted, rgba(255, 255, 255, .78));
}

.placeholder {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.placeholder .line {
  height: 10px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .08), rgba(255, 255, 255, .05));
}

.placeholder .line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  animation: shimmer 1.8s ease-in-out infinite;
}

.line.w60 {
  width: 60%
}

.line.w40 {
  width: 40%
}

.line.w80 {
  width: 80%
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(100%)
  }
}

/* CTAs */
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .2px;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease;
}

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--text, #fff);
}

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

.btn-primary {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 10px 24px rgba(59, 130, 246, .35)
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Card hover for the whole panel sides */
.panel-left .stat:hover,
.tags li:hover {
  transform: translateY(-1px);
  transition: transform .15s ease;
}

/* Motion reduced */
@media (prefers-reduced-motion: reduce) {

  .hacku-title .sparkle,
  .hacku-band .band-track,
  .placeholder .line::after {
    animation: none !important;
  }
}


/* ===== Neon Tag Badges (drop-in override) ===== */

/* container spacing stays flexible */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
}

/* chip base */
.tags li {
  --neon: #6ee7ff;
  /* glow color (cyan) */
  --ring: color-mix(in oklab, var(--neon) 75%, #ffffff 25%);
  --surface: rgba(255, 255, 255, .04);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .25px;

  background: radial-gradient(120% 140% at 50% 0%,
      rgba(255, 255, 255, .06), var(--surface));
  color: #eaf7ff;

  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .10) inset,
    0 8px 22px rgba(0, 0, 0, .45);

  /* subtle idle glow ring (behind chip) */
  isolation: isolate;
}

/* neon border line */
.tags li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  /* border thickness */
  background: linear-gradient(90deg,
      color-mix(in oklab, var(--neon) 90%, #fff 10%),
      rgba(255, 255, 255, .18),
      color-mix(in oklab, var(--neon) 70%, #fff 30%));
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .9;
  pointer-events: none;
}

/* neon outer glow (soft, blurred) */
.tags li::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(60% 60% at 50% 50%,
      color-mix(in oklab, var(--neon) 55%, transparent),
      transparent 70%);
  filter: blur(10px);
  opacity: .35;
  z-index: -1;
  transition: opacity .25s ease, transform .25s ease;
}

/* hover/focus: brighter + slight lift */
.tags li:hover,
.tags li:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--neon) 45%, #fff 55%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .16) inset,
    0 14px 34px rgba(0, 0, 0, .55);
  outline: none;
}

.tags li:hover::after,
.tags li:focus-visible::after {
  opacity: .65;
  transform: scale(1.04);
}

/* optional: per-tag color accents using data-color */
.tags li[data-color="pink"] {
  --neon: #ff6bd6;
}

.tags li[data-color="green"] {
  --neon: #4dffb5;
}

.tags li[data-color="violet"] {
  --neon: #b693ff;
}

.tags li[data-color="amber"] {
  --neon: #ffd166;
}

.tags li[data-color="blue"] {
  --neon: #6ee7ff;
}

/* default */

/* ultra-small screens: keep comfy */
@media (max-width:360px) {
  .tags {
    gap: 8px;
  }

  .tags li {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* motion safety */
@media (prefers-reduced-motion: reduce) {

  .tags li,
  .tags li::after {
    transition: none !important;
    transform: none !important;
  }
}


/* ===================== Testimonials ===================== */
.testi {
  padding: 40px 0;
}

.testi-wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

.testi-head {
  text-align: center;
  margin-bottom: 36px;
}

.testi-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 850;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #9d6bff, #38bdf8, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testi-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted, rgba(255, 255, 255, .75));
  font-size: 15px;
}

/* GRID: 2 per row on mobile, 3 per row on laptop/desktop */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* mobile: 2 */
  gap: 20px;
}

@media (min-width: 1024px) {
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* laptop/desktop: 3 */
}

/* Card */
.testi-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
}

/* Avatar (round neon; no images) */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, var(--neon, #38bdf8), #1e293b);
  box-shadow: 0 0 12px var(--neon, #38bdf8), inset 0 0 8px rgba(255, 255, 255, .25);
}

.name {
  margin: 6px 0 2px;
  font-weight: 800;
  font-size: 16px;
}

.role {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted, rgba(255, 255, 255, .75));
}

.quote {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  font-style: italic;
  line-height: 1.45;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .testi-card {
    transition: none !important;
    transform: none !important;
  }
}


/* ===== Contact — Site-fit palette ===== */
.site-fit {
  --accent: var(--brand, #9d6bff);
  --accent-2: #38bdf8;
  --accent-3: #34d399;
  --panel: rgba(255, 255, 255, .05);
  --panel-2: rgba(255, 255, 255, .03);
  --border: rgba(255, 255, 255, .10);
  --muted: rgba(255, 255, 255, .78);
  --text: #fff;
}

/* layout */
.contact {
  padding: 20px 0;
}

.contact .ct-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width:1024px) {
  .contact .ct-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

/* left */
.ct-left {
  max-width: 640px;

}

.ct-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #0b1220;
  background: linear-gradient(180deg, #ffe6ab, #f9d37c);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
  margin-bottom: 14px;
}

.ct-title {
  margin: 4px 0 8px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .2px;
}

.ct-title span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ct-sub {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: clamp(14px, 1.9vw, 16px);
  max-width: 56ch;
}

/* bullets */
.ct-points {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.ct-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
  letter-spacing: .15px;
  font-size: 15px;
}

.ct-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* buttons — two in one line */
.ct-cta.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* always two per row */
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 15px;
  transition: transform .15s ease, filter .2s ease, border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #0b1620;
  box-shadow: 0 10px 24px rgba(157, 107, 255, .20);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

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

/* right chat — phone-like 9:16 */
.ct-right {
  display: grid;
  justify-items: center;
}

.card.chat {
  width: min(420px, 100%);
  /* phone width */
  aspect-ratio: 9 / 12;
  /* 9:16 screen */
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-rows: auto 1fr;
  /* header + scrollable body */
}

/* subtle trims */
.card.chat::before,
.card.chat::after {
  content: "";
  position: absolute;
  inset: auto auto 8% -32%;
  width: 62%;
  height: 2px;
  background: rgba(255, 255, 255, .12);
  transform: rotate(30deg);
}

.card.chat::after {
  inset: auto -32% 18% auto;
  transform: rotate(-18deg);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 700;
  margin: 2px 6px 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  display: inline-block;
}

.online {
  background: var(--accent-3);
}

/* scroll area */
.chat-body {
  overflow: auto;
  padding: 2px 2px 8px 2px;
}

/* bubbles with extra gap */
.bubble {
  max-width: 82%;
  margin: 14px 8px;
  /* more gap between messages */
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.bubble.left {
  align-self: flex-start;
  border-top-left-radius: 6px;
}

.bubble.right {
  margin-left: auto;
  align-self: flex-end;
  border-top-right-radius: 6px;
}

.bubble.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0b1620;
  border: none;
}

/* typing dots */
.typing {
  display: flex;
  gap: 6px;
  margin: 10px 10px 6px;
}

.tdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  animation: tdot 1.4s infinite ease-in-out;
}

.tdot:nth-child(2) {
  animation-delay: .15s
}

.tdot:nth-child(3) {
  animation-delay: .3s
}

@keyframes tdot {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: .6
  }

  40% {
    transform: translateY(-4px);
    opacity: 1
  }
}

/* small screens */
@media (max-width:480px) {
  .ct-title {
    font-size: 28px;
  }

  .bubble {
    font-size: 13.5px
  }
}

/* motion safety */
@media (prefers-reduced-motion: reduce) {
  .tdot {
    animation: none !important;
  }

  .btn,
  .bubble {
    transition: none !important;
  }
}


/* ===================== Feedback ===================== */
.feedback {
  padding: 35px 0;
  padding-bottom: 0px;
}

.feedback .fb-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

/* Head */
.fb-head {
  margin-bottom: 18px;
}

.fb-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: .2px;
}

.fb-title span {
  background: linear-gradient(90deg, #f8d28b, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fb-sub {
  margin: 8px 0 0;
  color: var(--muted, rgba(255, 255, 255, .78));
  font-size: 15px;
}

/* Grid */
.fb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 1024px) {
  .fb-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

/* Card base (no glow) */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .45);
}

/* Map */
.fb-map {
  overflow: hidden;
}

.fb-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 18px;
}

@media (min-width: 1024px) {
  .fb-map iframe {
    height: 420px;
  }
}

/* Contact lines under map */
.fb-lines {
  list-style: none;
  padding: 14px 4px 0;
  margin: 10px 0 0;
  display: grid;
  gap: 12px;
}

.fb-lines li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
  font-weight: 700;
}

.fb-lines a {
  color: inherit;
  text-decoration: none;
}

.fb-lines a:hover {
  text-decoration: underline;
}

/* Form */
.fb-form {
  padding: 34px;
}

.fb-form .field {
  position: relative;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  padding: 10px 12px;
}

.fb-form .field.textarea {
  grid-template-columns: 28px 1fr;
  padding: 12px;
}

.fb-form .ico {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .8);
}

.fb-form input,
.fb-form textarea {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.fb-form textarea {
  resize: vertical;
}

/* CTAs: two in a row */
.fb-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
  letter-spacing: .2px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .15s ease;
}

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

.btn-wa {
  background: #22c55e;
  color: #0b1620;
}

.btn-em {
  background: #f9cf6b;
  color: #0b1620;
}

.fb-note {
  margin: 10px 2px 0;
  font-size: 13px;
  color: var(--muted, rgba(255, 255, 255, .72));
}

/* Overlay on map */
.fb-map {
  position: relative;
}

.fb-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  /* semi-transparent background */
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
}

.fb-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.fb-overlay li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.fb-overlay a {
  color: inherit;
  text-decoration: none;
}

.fb-overlay a:hover {
  text-decoration: underline;
}

/* ===================== Footer ===================== */
.site-footer {
  margin-top: 20px;
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted, rgba(255, 255, 255, .72));
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .2) 50%,
      rgba(255, 255, 255, 0) 100%);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

.site-footer p {
  margin: 0;
}

.site-footer .author {
  font-weight: 700;
  background: linear-gradient(90deg, #f9d37c, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer .brand {
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}

.site-footer a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}