/* ================================================
  SkyeLabs — HOMEPAGE STYLES
  ================================================ */

/* ── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-space-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(0,159,227,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(245,130,32,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 85%, rgba(123,47,190,0.08) 0%, transparent 55%);
}
#starfield { position: absolute; inset: 0; overflow: hidden; }
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--dly, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 0.9;  transform: scale(1.4); }
}

/* Swirl / Accretion Disk */
.hero__swirl {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.swirl__core {
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  background: var(--color-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245,130,32,0.3), 0 0 60px rgba(245,130,32,0.6);
  animation: corePulse 2.4s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 4px rgba(245,130,32,0.3), 0 0 40px rgba(245,130,32,0.5); }
  50%       { transform: scale(1.6); box-shadow: 0 0 0 8px rgba(245,130,32,0.15), 0 0 90px rgba(245,130,32,0.7); }
}
.swirl__disk {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px solid;
  transform-origin: center;
}
.swirl__disk--1 {
  width: 110px; height: 110px;
  margin: -55px 0 0 -55px;
  border-color: rgba(245,130,32,0.7);
  box-shadow: 0 0 20px rgba(245,130,32,0.15);
  animation: spin 5s linear infinite;
}
.swirl__disk--2 {
  width: 230px; height: 85px;
  margin: -42px 0 0 -115px;
  border-color: rgba(0,159,227,0.45);
  animation: spinObl1 9s linear infinite reverse;
}
.swirl__disk--3 {
  width: 370px; height: 130px;
  margin: -65px 0 0 -185px;
  border-color: rgba(123,47,190,0.3);
  animation: spinObl2 14s linear infinite;
}
.swirl__disk--4 {
  width: 510px; height: 170px;
  margin: -85px 0 0 -255px;
  border-color: rgba(232,184,75,0.12);
  animation: spinObl2 22s linear infinite reverse;
}
.swirl__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 250px; height: 250px;
  margin: -125px 0 0 -125px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(245,130,32,0.06) 50deg,
    rgba(245,130,32,0.32) 110deg,
    rgba(255,160,70,0.22) 170deg,
    rgba(245,130,32,0.06) 230deg,
    transparent 290deg
  );
  border-radius: 50%;
  animation: spin 4s linear infinite;
}
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes spinObl1 { to { transform: rotateX(60deg) rotate(360deg); } }
@keyframes spinObl2 { to { transform: rotateX(72deg) rotate(360deg); } }

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) var(--container-px) var(--sp-20);
  max-width: 880px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-orange);
  margin-bottom: var(--sp-5);
  animation: fadeUp 0.7s ease both 0.3s;
}
.hero__title {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  background: linear-gradient(130deg, #fff 25%, rgba(255,255,255,0.75) 65%, var(--color-orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-6);
  animation: fadeUp 0.7s ease both 0.5s;
}
.hero__brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  margin-bottom: var(--sp-6);
  animation: fadeUp 0.7s ease both 0.5s;
}
.hero__brand-name {
  font-family: 'Century Gothic', 'Avant Garde', Futura, sans-serif;
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero__brand-tagline {
  font-family: 'Century Gothic', 'Avant Garde', Futura, sans-serif;
  font-size: clamp(1rem, 3.2vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-orange);
  letter-spacing: 0.14em;
  align-self: flex-end;
  padding-right: 0.15em;
}
.hero__sub {
  font-size: clamp(var(--text-base), 2.2vw, var(--text-lg));
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
  animation: fadeUp 0.7s ease both 0.7s;
}
.hero__ctas {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease both 0.9s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.scroll-cue {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: fadeUp 0.7s ease both 1.2s;
}
.scroll-cue__arrow {
  display: block;
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.35);
  border-bottom: 2px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0,0);   opacity: 0.4; }
  50%       { transform: rotate(45deg) translate(4px,4px); opacity: 1;   }
}

/* ── ABOUT ─────────────────────────────────────── */
.about { background: var(--color-white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__text h2   { margin-bottom: var(--sp-5); }
.about__text .lead {
  font-size: var(--text-md);
  color: var(--color-grey-600);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.about__text p    { color: var(--color-grey-500); }
.about__sub-nav {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}
.about__sub-nav a {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--sp-2) var(--sp-4);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--r-full);
  color: var(--color-grey-500);
  transition: all var(--t-fast);
}
.about__sub-nav a:hover,
.about__sub-nav a.active {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: rgba(245,130,32,0.05);
}
.about-panel    { display: none; }
.about-panel.active { display: block; }

.pillar-cards { display: flex; flex-direction: column; gap: var(--sp-4); }
.pillar {
  background: var(--color-grey-50);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  border-left: 3px solid var(--color-orange);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.pillar:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.pillar h3 { font-size: var(--text-md); margin-bottom: var(--sp-2); }
.pillar p  { font-size: var(--text-sm); color: var(--color-grey-500); }

/* ── ECOSYSTEM ─────────────────────────────────── */
.ecosystem { background: var(--color-grey-100); }
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.eco-card {
  display: block;
  background: var(--color-white);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  border: 1px solid var(--color-grey-200);
  border-top: 3px solid var(--accent, var(--color-orange));
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  border-top-color: var(--accent, var(--color-orange));
}
.eco-card--SkyeFone { --accent: var(--color-SkyeFone); }
.eco-card--skyepay { --accent: var(--color-skyepay); }
.eco-card--SkyeMail { --accent: var(--color-SkyeMail); }
.eco-card--skyex   { --accent: var(--color-skyex);   }
.eco-card--SkyeDome { --accent: var(--color-SkyeDome); }

/* Centre 4th and 5th cards in a 3-col grid */
.eco-grid .eco-card:nth-child(4) { grid-column: 1; }
.eco-grid .eco-card:nth-child(5) { grid-column: 2; }

.eco-card__icon  { width: 44px; height: 44px; color: var(--accent); margin-bottom: var(--sp-4); }
.eco-card__tag   {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}
.eco-card__title { font-size: var(--text-lg); margin-bottom: var(--sp-3); }
.eco-card__desc  {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}
.eco-card__cta {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--t-fast);
}
.eco-card:hover .eco-card__cta { gap: var(--sp-3); }

/* ── FEATURE SPOTLIGHTS ────────────────────────── */
.features { background: var(--color-white); }
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 8vw, 6rem);
}
.spotlight:last-child { margin-bottom: 0; }
.spotlight--reverse .spotlight__visual { order: 1; }

.spotlight__visual {
  border-radius: var(--r-xl);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-10);
}
.spotlight__visual--SkyeFone { background: linear-gradient(135deg, #001833 0%, #003d7a 100%); }
.spotlight__visual--skyepay { background: linear-gradient(135deg, #052e16 0%, #166534 100%); }
.spotlight__visual--SkyeMail { background: linear-gradient(135deg, #431407 0%, #9a3412 100%); }

.spotlight__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: var(--sp-3);
}
.spotlight__title  { margin-bottom: var(--sp-4); }
.spotlight__body   { color: var(--color-grey-500); line-height: 1.7; margin-bottom: var(--sp-5); }
.feature-list      { margin-bottom: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); }
.feature-list li   {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--color-grey-600);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--color-orange);
  border-radius: 50%;
}

/* UI Mockups */
.mock {
  width: 100%;
  max-width: 280px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: var(--sp-6);
  backdrop-filter: blur(8px);
}
.mock__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blue-light);
  margin-bottom: var(--sp-3);
}
.mock__id {
  font-family: 'Courier New', monospace;
  font-size: var(--text-sm);
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-4);
}
.badge--verified {
  display: inline-block;
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.35);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
}
.mock-wallet__balance-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-1);
}
.mock-wallet__balance {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--sp-5);
}
.mock-wallet__actions { display: flex; gap: var(--sp-2); }
.mock-wallet__actions span {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: var(--sp-2);
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
}
.mock-chat { display: flex; flex-direction: column; gap: var(--sp-3); }
.mock-chat__msg {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  max-width: 85%;
}
.mock-chat__msg--in  {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px;
}
.mock-chat__msg--out {
  background: var(--color-orange);
  color: #fff;
  align-self: flex-end;
  border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg);
}
.mock-chat__video {
  background: rgba(245,130,32,0.15);
  border: 1px solid rgba(245,130,32,0.35);
  color: var(--color-orange-light);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
}

/* ── INFRASTRUCTURE ────────────────────────────── */
.infrastructure { position: relative; overflow: hidden; }
.infra__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(123,47,190,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(245,130,32,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0,159,227,0.1) 0%, transparent 50%);
}
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  position: relative;
  z-index: 1;
}
.infra-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.infra-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(245,130,32,0.25);
  transform: translateY(-4px);
}
.infra-card--full { grid-column: 1 / -1; }
.infra-card__icon { width: 44px; height: 44px; margin-bottom: var(--sp-4); }
.infra-card h3    { font-size: var(--text-lg); color: var(--color-white); margin-bottom: var(--sp-3); }
.infra-card p     { font-size: var(--text-sm); color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── COMPLIANCE ────────────────────────────────── */
.compliance { background: var(--color-grey-100); }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.comp-card {
  background: var(--color-white);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  border: 1px solid var(--color-grey-200);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.comp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-orange);
}
.comp-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-4);
}
.comp-card h3 { font-size: var(--text-base); margin-bottom: var(--sp-3); }
.comp-card p  { font-size: var(--text-sm); color: var(--color-grey-500); line-height: 1.65; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid .eco-card:nth-child(4),
  .eco-grid .eco-card:nth-child(5) { grid-column: auto; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .infra-card--full { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .about__grid   { grid-template-columns: 1fr; }
  .eco-grid      { grid-template-columns: 1fr; }
  .spotlight     { grid-template-columns: 1fr; }
  .spotlight--reverse .spotlight__visual { order: 0; }
  .infra-grid    { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .hero__ctas    { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hero__title   { font-size: 2.6rem; }
}
