/* =========================================================
   Golden K Technology — Main Stylesheet
   ========================================================= */

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold-light:  #FFD700;
  --gold:        #D4AF37;
  --gold-dark:   #9C7B0A;
  --cyan:        #00D4FF;
  --bg:          #080808;
  --bg-2:        #0F0F0F;
  --bg-3:        #141414;
  --bg-card:     rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.08);
  --border-gold: rgba(212,175,55,0.3);
  --text:        #F0F0F0;
  --text-muted:  #888;
  --text-dim:    #555;
  --radius:      16px;
  --radius-sm:   8px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ----- Utilities ----- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
}

.btn--sm { padding: 9px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #080808;
  font-weight: 600;
  box-shadow: 0 0 30px rgba(212,175,55,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(212,175,55,0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.06);
}

/* ----- Reveal Animations ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition);
}
.nav.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.nav__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav__logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 40px 20px;
  border-top: 1px solid var(--border);
  background: rgba(8,8,8,0.95);
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  padding: 12px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.nav__mobile-link:hover { color: var(--gold); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
  top: -10%; left: -10%;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  bottom: -10%; right: -5%;
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}
.hero__orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  top: 40%; left: 50%;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 60px) scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,175,55,0.06);
  margin-bottom: 28px;
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* =========================================================
   Sections (shared)
   ========================================================= */
.section { padding: 120px 0; }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.section__eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =========================================================
   Services
   ========================================================= */
.services {
  background: var(--bg);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(212,175,55,0.1);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(212,175,55,0.06);
  color: var(--gold);
  transition: var(--transition);
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card:hover .service-card__icon {
  background: rgba(212,175,55,0.15);
  box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

.service-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-card__tags span {
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat:last-child { border-right: none; }

.stat::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.stat.visible::before { opacity: 1; }

.stat__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.stat__plus {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
}

.stat__label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* =========================================================
   Team
   ========================================================= */
.team { background: var(--bg); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  gap: 28px;
}
.team-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(212,175,55,0.08);
}

.team-card__glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.team-card__avatar {
  flex-shrink: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  background: linear-gradient(135deg, var(--gold-dark), var(--bg-3));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.team-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-card__avatar-initials {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  position: absolute;
}
.team-card__avatar:not(.team-card__avatar--fallback) .team-card__avatar-initials {
  display: none;
}

.team-card__body { flex: 1; min-width: 0; }

.team-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.team-card__role {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.team-card__bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 50px;
  transition: var(--transition);
}
.team-card__linkedin svg { width: 14px; height: 14px; }
.team-card__linkedin:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: rgba(212,175,55,0.06);
}

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--bg-2); }

.contact__inner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 80px 60px;
  overflow: hidden;
  text-align: center;
}
.contact__inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), transparent 50%, rgba(0,212,255,0.08));
  border-radius: 24px;
  z-index: -1;
}

.contact__orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.contact__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.contact__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 36px;
}

.contact__content { position: relative; z-index: 1; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .team__grid { grid-template-columns: 1fr; max-width: 520px; }
  .team-card { flex-direction: column; align-items: flex-start; }
  .contact__inner { padding: 60px 32px; }
}

@media (max-width: 700px) {
  .nav__inner { padding: 16px 20px; }
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__toggle { display: flex; }
  .hero__title { font-size: clamp(2.4rem, 9vw, 4rem); }
  .section { padding: 80px 0; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; }
  .stat:last-child { border-bottom: none; }
  .contact__inner { padding: 40px 20px; }
}
