/* Faktop Global Limited - premium shared interface system */
:root {
  --ink: #070A0F;
  --navy: #0A1220;
  --steel: #111A29;
  --gold: #C8A45D;
  --gold-soft: #F2E7D2;
  --text: #E9EEF6;
  --muted: rgba(233, 238, 246, 0.65);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(200, 164, 93, 0.13), transparent 28rem),
    radial-gradient(circle at 80% 12%, rgba(242, 231, 210, 0.08), transparent 30rem),
    linear-gradient(180deg, #070A0F 0%, #090F1A 45%, #070A0F 100%);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 45% 22%, rgba(200, 164, 93, 0.08), transparent 26rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 32%, rgba(200, 164, 93, 0.035));
}

::selection {
  background: rgba(200, 164, 93, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-soft), var(--gold));
  border-radius: 999px;
}

.font-serif {
  letter-spacing: 0;
}

.gold-text {
  background: linear-gradient(135deg, #fff7db 0%, #c8a45d 48%, #8f642d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.luxury-glass {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.premium-border {
  position: relative;
  isolation: isolate;
}

.premium-border::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(242, 231, 210, 0.78), rgba(200, 164, 93, 0.06) 44%, rgba(255, 255, 255, 0.16));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.section-shell {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.luxury-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  overflow: hidden;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 800;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.luxury-btn::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -80%;
  width: 56%;
  height: 320%;
  transform: rotate(28deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transition: left 0.75s ease;
}

.luxury-btn:hover {
  transform: translateY(-2px);
}

.luxury-btn:hover::after {
  left: 130%;
}

.btn-gold {
  background: linear-gradient(135deg, #f2e7d2, #c8a45d 48%, #9a6d31);
  color: #070A0F;
  box-shadow: 0 22px 70px rgba(200, 164, 93, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(242, 231, 210, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(200, 164, 93, 0.62);
}

.nav-shell {
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.nav-shell > nav {
  min-height: 5.25rem;
}

.nav-solid {
  border-bottom: 1px solid rgba(200, 164, 93, 0.16);
  background: rgba(7, 10, 15, 0.84);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-link {
  position: relative;
  padding-block: 0.4rem;
  color: rgba(233, 238, 246, 0.72);
  font-size: 0.86rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-soft);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.brand-mark {
  overflow: visible;
  width: 4.8rem;
  height: 4.8rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 26px rgba(200, 164, 93, 0.16));
}

.mobile-panel {
  border: 1px solid rgba(200, 164, 93, 0.16);
  background: rgba(7, 10, 15, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 7.5rem;
}

.hero-visual {
  display: block;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.94), rgba(7, 10, 15, 0.62) 44%, rgba(7, 10, 15, 0.9)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=90");
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  animation: backgroundZoom 18s ease-in-out infinite alternate;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 35%, rgba(200, 164, 93, 0.22), transparent 25rem),
    radial-gradient(circle at 42% 78%, rgba(242, 231, 210, 0.08), transparent 22rem),
    linear-gradient(180deg, transparent 0%, rgba(7, 10, 15, 0.45) 66%, var(--ink) 100%);
}

.page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 8rem;
}

.ambient-orbit {
  position: absolute;
  width: clamp(18rem, 34vw, 34rem);
  height: clamp(18rem, 34vw, 34rem);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 164, 93, 0.16), transparent 70%);
  filter: blur(2px);
  animation: ambientFloat 8s ease-in-out infinite;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(200, 164, 93, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.62rem 0.95rem;
  color: rgba(242, 231, 210, 0.9);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.hero-kicker span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(200, 164, 93, 0.75);
}

.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(17, 26, 41, 0.82), rgba(7, 10, 15, 0.58));
  padding: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature-card,
.project-card,
.testimonial-card,
.evidence-card,
.proof-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(17, 26, 41, 0.86), rgba(7, 10, 15, 0.58));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.feature-card:hover,
.project-card:hover,
.testimonial-card:hover,
.evidence-card:hover {
  border-color: rgba(200, 164, 93, 0.42);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.35), 0 0 60px rgba(200, 164, 93, 0.09);
  transform: translateY(-7px);
}

.project-card img {
  transition: transform 1s ease, filter 0.6s ease;
}

.project-card {
  background:
    linear-gradient(145deg, rgba(17, 26, 41, 0.86), rgba(7, 10, 15, 0.58)),
    radial-gradient(circle at 25% 15%, rgba(200, 164, 93, 0.16), transparent 20rem);
}

.project-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.03);
}

.evidence-card {
  min-height: 13.5rem;
  background:
    linear-gradient(145deg, rgba(17, 26, 41, 0.9), rgba(7, 10, 15, 0.64)),
    radial-gradient(circle at 90% 12%, rgba(200, 164, 93, 0.12), transparent 15rem);
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgba(242, 231, 210, 0.16);
  border-radius: 999px;
  background: rgba(7, 10, 15, 0.58);
  padding: 0.42rem 0.72rem;
  color: rgba(242, 231, 210, 0.84);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(17, 26, 41, 0.9), rgba(7, 10, 15, 0.62)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
}

.proof-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--gold-soft), var(--gold), transparent);
}

.proof-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.executive-frame {
  position: relative;
  isolation: isolate;
}

.executive-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(242, 231, 210, 0.82), rgba(200, 164, 93, 0.06) 48%, rgba(200, 164, 93, 0.6));
}

.executive-frame::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -8%;
  z-index: -2;
  width: 45%;
  height: 45%;
  border-radius: 999px;
  background: rgba(200, 164, 93, 0.16);
  filter: blur(42px);
}

.signature {
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal-left {
  transform: translateX(-2rem);
}

.reveal-right {
  transform: translateX(2rem);
}

.reveal.show {
  opacity: 1;
  transform: translate(0, 0);
}

.float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.contact-float {
  box-shadow: 0 18px 52px rgba(200, 164, 93, 0.28);
}

.site-footer {
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 164, 93, 0.08), transparent 22rem),
    rgba(7, 10, 15, 0.22);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(7rem, 11vw, 9.5rem);
  height: clamp(7rem, 11vw, 9.5rem);
}

.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 34px rgba(200, 164, 93, 0.12));
}

.footer-links a,
.site-footer a {
  transition: color 0.25s ease;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--gold-soft);
}

@keyframes backgroundZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.14);
  }
}

@keyframes ambientFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(-1rem, -1.4rem, 0) scale(1.08);
    opacity: 0.92;
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  body {
    background:
      radial-gradient(circle at 18% 4%, rgba(200, 164, 93, 0.13), transparent 18rem),
      radial-gradient(circle at 100% 8%, rgba(242, 231, 210, 0.07), transparent 16rem),
      linear-gradient(180deg, #070A0F 0%, #090F1A 50%, #070A0F 100%);
  }

  body::before {
    background-size: 54px 54px;
    opacity: 0.7;
  }

  .nav-shell {
    background: rgba(7, 10, 15, 0.82);
    border-bottom: 1px solid rgba(200, 164, 93, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav-shell > nav {
    min-height: 4.8rem;
    padding: 0.65rem 1rem;
  }

  .brand-mark {
    width: 3.7rem !important;
    height: 3.7rem !important;
  }

  #menuBtn {
    width: 2.65rem !important;
    height: 2.65rem !important;
    border-radius: 0.9rem !important;
    font-size: 1.6rem !important;
  }

  .mobile-panel {
    margin-inline: 1rem;
    border-radius: 1.35rem;
    padding: 1rem 1.15rem;
  }

  .mobile-panel .nav-link {
    display: flex;
    min-height: 2.8rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
    padding-block: 5.8rem 3rem;
  }

  .page-hero {
    min-height: auto;
    padding-block: 5.8rem 3.2rem;
  }

  .hero > .relative,
  .page-hero > .relative {
    gap: 1.75rem !important;
  }

  .section-shell {
    padding-block: 3rem;
  }

  .hero-kicker {
    align-items: flex-start;
    max-width: 100%;
    border-radius: 1rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    line-height: 1.55;
  }

  .section-label {
    gap: 0.65rem;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .section-label::before {
    width: 1.6rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.15rem) !important;
    line-height: 0.98 !important;
  }

  .section-shell h2 {
    font-size: clamp(2rem, 9.5vw, 3rem) !important;
    line-height: 1.06 !important;
  }

  p {
    line-height: 1.75;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem !important;
    line-height: 1.72 !important;
  }

  .hero .mt-8,
  .page-hero .mt-7 {
    margin-top: 1.2rem !important;
  }

  .hero .mt-10 {
    margin-top: 1.5rem !important;
  }

  .hero-visual {
    margin-top: 0.5rem;
  }

  .hero-visual .luxury-glass {
    padding: 0.85rem !important;
    border-radius: 1.35rem !important;
  }

  .hero-visual img {
    height: min(22rem, 84vw) !important;
    border-radius: 1rem !important;
    object-position: 58% center !important;
  }

  .hero-visual .float-slow {
    animation: none;
  }

  .hero-visual .mt-5 {
    margin-top: 0.9rem !important;
  }

  .hero-visual .text-2xl {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
  }

  .hero-visual .tracking-\[0\.26em\] {
    letter-spacing: 0.16em !important;
  }

  .luxury-btn {
    width: 100%;
    min-height: 3.15rem;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .metric-card {
    border-radius: 1.15rem;
    padding: 1rem;
  }

  .metric-card p:first-child {
    font-size: 2.55rem !important;
  }

  .feature-card,
  .testimonial-card,
  .evidence-card,
  .proof-panel {
    border-radius: 1.35rem !important;
    padding: 1.35rem !important;
  }

  .project-card {
    height: min(25rem, 112vw) !important;
    border-radius: 1.45rem !important;
  }

  .project-card > div:last-child {
    padding: 1.35rem !important;
  }

  .project-card h2,
  .project-card h3 {
    font-size: 2rem !important;
    line-height: 1.03 !important;
  }

  .project-card p {
    font-size: 0.95rem;
  }

  .executive-frame img {
    height: min(28rem, 106vw) !important;
    border-radius: 1.4rem !important;
  }

  .hero-visual .executive-frame img {
    height: min(22rem, 84vw) !important;
  }

  iframe {
    height: 17rem !important;
  }

  .executive-frame,
  .executive-frame::before {
    border-radius: 1.4rem !important;
  }

  .contact-float {
    right: 1rem !important;
    bottom: 1rem !important;
    width: 3.25rem !important;
    height: 3.25rem !important;
    font-size: 1.45rem !important;
  }

  .site-footer {
    padding-block: 2.8rem !important;
  }

  .footer-logo-link {
    width: 7.5rem;
    height: 7.5rem;
  }

  .footer-links {
    max-width: 18rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    min-height: auto;
    padding-block: 7rem 4.5rem;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 9vw, 5.4rem) !important;
    line-height: 0.96 !important;
  }

  .hero-visual {
    max-width: 34rem;
  }

  .hero-visual img {
    height: 30rem !important;
  }

  .executive-frame img {
    height: 34rem !important;
  }

  .hero-visual .executive-frame img {
    height: 30rem !important;
  }

  .project-card {
    height: 27rem !important;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .hero {
    min-height: auto;
    padding-block: 7rem 4rem;
  }

  .hero h1 {
    font-size: clamp(5rem, 7vw, 6.6rem) !important;
    line-height: 0.94 !important;
  }

  .hero p {
    margin-top: 1.4rem !important;
  }

  .hero .mt-10 {
    margin-top: 1.7rem !important;
  }

  .hero-visual img {
    height: 29rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .nav-shell > nav {
    padding-inline: 1.25rem;
  }

  .nav-shell .luxury-btn {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-shell > nav {
    padding-block: 1rem;
  }
}
