/* =========================================================
   UniMate — home.css  (Home page only)

   1. Hero
   2. The two choice cards (Business / Students)
   3. Scrolling bands
   4. Team & numbers
   5. Services
   6. Facebook section
   ========================================================= */


/* ---------- 1. HERO ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: ping 2s infinite;
}

@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero__title {
  margin: 0 auto 22px;
  max-width: 14ch;
  font-size: clamp(2.7rem, 8.4vw, 6.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

/* Typed word on its own line */
.hero__typed {
  display: block;
  min-height: 1.1em;
}

.caret {
  display: inline-block;
  width: 0.07em;
  height: 0.85em;
  margin-left: 6px;
  vertical-align: -0.05em;
  background: var(--a2);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% { opacity: 0; }
}

.hero__sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__choose {
  margin-top: 44px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* ---------- 2. CHOICE CARDS ---------- */
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 18px auto 0;
  text-align: left;
}

.choice {
  --c1: var(--a1);
  --c2: var(--a2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  isolation: isolate;
}

/* Colour glow that follows the mouse */
.choice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c1) 40%, transparent), transparent 60%);
  transition: opacity 0.35s ease;
}

.choice:hover::before {
  opacity: 1;
}

.choice:hover {
  border-color: color-mix(in srgb, var(--c1) 65%, transparent);
}

/* Each card has its own colours */
.choice--biz {
  --c1: #3b82f6;
  --c2: #22d3ee;
}

.choice--stu {
  --c1: #ff9f43;
  --c2: #ff4d8d;
}

.choice__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #06080f;
}

.choice__icon .icon {
  width: 28px;
  height: 28px;
}

.choice__label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.choice__title {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 800;
}

.choice__text {
  color: var(--muted);
}

.choice__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 600;
}

.choice__go .icon {
  transition: transform 0.3s ease;
}

.choice:hover .choice__go .icon {
  transform: translateX(6px);
}

/* "Message us on Facebook" pill under the choice cards */
.hero__fb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 9px 20px 9px 9px;
  border: 1px solid rgba(24, 119, 242, 0.5);
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.14);
  font-weight: 500;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero__fb:hover {
  background: rgba(24, 119, 242, 0.26);
  transform: translateY(-2px);
}

.hero__fb-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fb);
  color: #fff;
}

.hero__fb strong {
  color: #fff;
}

@media (max-width: 700px) {
  .choices {
    grid-template-columns: 1fr;
  }

  .choice {
    padding: 24px;
  }
}


/* ---------- 3. SCROLLING BANDS ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.marquee__track {
  display: flex;
  width: max-content;
  padding: 22px 0;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 45s;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Big words band */
.marquee__item {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "✦";
  color: var(--a2);
  font-size: 0.7em;
}

/* Every second word is outlined */
.marquee__item:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}

/* Tools band */
.marquee--tools .marquee__track {
  padding: 18px 0;
}

.marquee__tool {
  margin-right: 14px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d5dbeb;
  font-weight: 500;
  white-space: nowrap;
}


/* ---------- 4. TEAM & NUMBERS ---------- */
.team__headline {
  margin: 18px 0 28px;
  font-size: clamp(2.7rem, 10vw, 7.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.team__headline span {
  display: block;
}

.team__headline .outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.6);
}

.team__text {
  max-width: 620px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 1.15rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 500;
}

.team__roles .chips li {
  padding: 9px 18px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stat {
    padding: 22px 18px;
  }
}


/* ---------- 5. SERVICES ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}

/* Glow that follows the mouse */
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--a1) 26%, transparent), transparent 60%);
  transition: opacity 0.3s ease;
}

.service:hover::before {
  opacity: 1;
}

.service:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad);
  color: #06080f;
}

.service__icon .icon {
  width: 26px;
  height: 26px;
}

.service h3 {
  font-size: 1.3rem;
}

.service p {
  color: var(--muted);
}

.service .chips {
  margin-top: auto;
  padding-top: 6px;
}

@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr;
  }
}


/* ---------- 6. FACEBOOK SECTION ---------- */
.fb-section {
  padding-top: clamp(40px, 6vw, 80px);
}
