@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* =========================================================
   RK DEVELOPER STUDIO
   FUTURISTIC METALLIC GLASS DESIGN SYSTEM
========================================================= */

:root {
  /* BACKGROUND */
  --bg: #5b6b73;
  --bg-dark: #26363e;
  --bg-deep: #17232b;

  /* GLASS SURFACES */
  --surface: rgba(220, 235, 240, 0.15);
  --surface-soft: rgba(220, 235, 240, 0.09);
  --surface-strong: rgba(25, 38, 45, 0.78);

  /* BORDERS */
  --line: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.35);

  /* TYPOGRAPHY */
  --ink: #ffffff;
  --muted: #a8bcc4;
  --muted-light: #d1d9dd;

  /* NEON */
  --brand: #6fffd2;
  --brand-dark: #38d9b0;
  --brand-light: rgba(111, 255, 210, 0.12);

  --blue: #75cfff;
  --cyan: #6fffd2;

  /* ORGANIC GREEN */
  --moss: #4a6b52;
  --forest: #2d4033;

  /* METALLIC */
  --silver: #d1d9dd;
  --chrome: #edf5f7;

  /* BUTTONS */
  --navy: #1a1f24;
  --navy-soft: #26343c;

  /* GRADIENTS */
  --gradient: linear-gradient(135deg, #6fffd2, #42c9c0);

  --gradient-bright: linear-gradient(135deg, #ffffff, #a8bcc4, #6fffd2);

  /* SHADOWS */
  --shadow-sm: 0 5px 18px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 25px 65px rgba(0, 0, 0, 0.32);

  /* RADIUS */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;

  --transition: 0.3s ease;
}

/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--bg-dark);
}

body {
  position: relative;
  isolation: isolate;

  min-height: 100vh;
  margin: 0;

  color: var(--ink);

  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background:
    radial-gradient(
      ellipse at 15% 10%,
      rgba(111, 255, 210, 0.12),
      transparent 35%
    ),
    radial-gradient(
      ellipse at 85% 65%,
      rgba(193, 215, 224, 0.13),
      transparent 40%
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(0, 0, 0, 0.025) 1px,
      transparent 2px,
      transparent 4px
    ),
    linear-gradient(135deg, #71828a 0%, #455760 45%, #26363e 100%);
}

/* Subtle metallic reflection */

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;

  content: "";
  pointer-events: none;

  background: linear-gradient(
    115deg,
    transparent 15%,
    rgba(255, 255, 255, 0.07) 43%,
    transparent 55%
  );

  opacity: 0.7;
}

/* Ambient technology lighting */

body::after {
  position: fixed;
  z-index: -1;

  width: 500px;
  height: 500px;

  top: 20%;
  right: -300px;

  content: "";
  pointer-events: none;

  border-radius: 50%;

  background: rgba(111, 255, 210, 0.07);

  filter: blur(100px);
}

/* =========================================================
   GENERAL ELEMENTS
========================================================= */

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  max-width: 100%;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {
  margin-top: 0;

  color: var(--ink);

  font-family: "Space Grotesk", sans-serif;

  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(40px, 5.2vw, 65px);
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
}

h3 {
  font-size: 21px;
  font-weight: 600;
}

h4 {
  font-size: 17px;
}

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

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

::selection {
  color: #17232b;
  background: #6fffd2;
}

/* =========================================================
   GLASS UTILITY
========================================================= */

.glass {
  border: 1px solid var(--glass-border);
  background: var(--surface);

  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.15);
}

/* =========================================================
   NAVIGATION
========================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;

  width: 100%;

  background: rgba(25, 38, 45, 0.78);

  border-bottom: 1px solid rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.nav {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: #ffffff;

  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;

  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 13px;

  color: #17232b;

  background: linear-gradient(145deg, #ffffff, #a8bcc4 45%, #6fffd2);

  box-shadow:
    0 0 18px rgba(111, 255, 210, 0.25),
    inset 0 2px 5px rgba(255, 255, 255, 0.8);

  font-size: 15px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 28px;
}

.nav-links > a:not(.btn) {
  color: #d1d9dd;

  font-size: 14px;
  font-weight: 600;

  transition: color var(--transition);
}

.nav-links > a:not(.btn):hover {
  color: var(--brand);

  text-shadow: 0 0 12px rgba(111, 255, 210, 0.5);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  min-height: 46px;

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

  gap: 9px;

  padding: 11px 21px;

  border: 1.5px solid var(--brand);
  border-radius: 12px;

  color: #6fffd2;
  background: #1a1f24;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 0 18px rgba(111, 255, 210, 0.18),
    inset 0 0 10px rgba(111, 255, 210, 0.08);

  transition:
    transform var(--transition),
    color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

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

  color: #17232b;
  background: #6fffd2;

  box-shadow:
    0 0 25px rgba(111, 255, 210, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid rgba(111, 255, 210, 0.55);
  outline-offset: 4px;
}

.btn.secondary {
  color: #ffffff;

  background: rgba(220, 235, 240, 0.1);

  border-color: rgba(255, 255, 255, 0.4);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn.secondary:hover {
  color: #17232b;

  background: #6fffd2;
  border-color: #6fffd2;
}

.btn.ghost {
  color: #ffffff;

  background: transparent;

  border-color: rgba(255, 255, 255, 0.3);
}

.btn.ghost:hover {
  color: #6fffd2;

  background: rgba(111, 255, 210, 0.1);

  border-color: #6fffd2;
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero {
  position: relative;

  overflow: hidden;
  isolation: isolate;

  padding: 100px 0 110px;

  color: #ffffff;

  background:
    linear-gradient(
      100deg,
      rgba(22, 34, 41, 0.94) 0%,
      rgba(44, 61, 69, 0.82) 52%,
      rgba(31, 48, 55, 0.72) 100%
    ),
    url("../images/steel-tech-hero.jpg") center / cover no-repeat;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;

  content: "";

  background:
    radial-gradient(
      circle at 75% 50%,
      rgba(111, 255, 210, 0.2),
      transparent 35%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;

  content: "";

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);

  background-size: 45px 45px;

  mask-image: linear-gradient(to right, transparent, black);
}

.hero-grid {
  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  align-items: center;

  gap: 65px;
}

.hero .eyebrow {
  color: #6fffd2;
}

.hero h1 {
  max-width: 690px;

  margin: 20px 0;

  color: #ffffff;

  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: #6fffd2;

  background: linear-gradient(90deg, #ffffff, #6fffd2, #d1d9dd);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 580px;

  margin: 0;

  color: #d0dce1;

  font-size: 16px;
  line-height: 1.85;
}

/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: #6fffd2;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;

  display: inline-block;

  border-radius: 50%;

  background: #6fffd2;

  box-shadow: 0 0 15px #6fffd2;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 13px;

  margin-top: 30px;
}

.hero .btn.secondary {
  color: #ffffff;

  background: rgba(220, 235, 240, 0.1);

  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn.secondary:hover {
  color: #17232b;

  background: #6fffd2;
  border-color: #6fffd2;
}

/* =========================================================
   HERO METALLIC ARTWORK
========================================================= */

.hero-art {
  position: relative;

  min-height: 370px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;

  background:
    linear-gradient(145deg, rgba(220, 235, 240, 0.18), rgba(20, 35, 42, 0.42)),
    url("../images/steel-tech-art.jpg") center / cover no-repeat;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-art::before {
  position: absolute;
  inset: 0;

  content: "";

  background: radial-gradient(
    circle at center,
    rgba(111, 255, 210, 0.2),
    transparent 55%
  );

  pointer-events: none;
}

.hero-art::after {
  position: absolute;

  width: 270px;
  height: 270px;

  border: 1px solid rgba(111, 255, 210, 0.5);
  border-radius: 50%;

  box-shadow:
    0 0 25px rgba(111, 255, 210, 0.15),
    0 0 0 25px rgba(255, 255, 255, 0.035),
    0 0 0 50px rgba(255, 255, 255, 0.025);

  content: "";

  animation: orbit 25s linear infinite;
}

.hero-symbol {
  position: relative;
  z-index: 2;

  width: 135px;
  height: 135px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 32px;

  color: #17232b;

  background: linear-gradient(145deg, #ffffff, #a8bcc4 45%, #6fffd2);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 35px rgba(111, 255, 210, 0.35),
    inset 0 2px 8px rgba(255, 255, 255, 0.9);

  font-size: 76px;

  animation: float 5s ease-in-out infinite;
}

.hero-caption {
  position: absolute;
  bottom: 25px;
  z-index: 2;

  color: #d1d9dd;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.22em;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 35px 0;

  color: #c2d0d6;

  background: rgba(18, 29, 36, 0.92);

  border-top: 1px solid rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

.footer strong {
  color: #ffffff;

  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
}

.footer small {
  color: #a8bcc4;
  font-size: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 22px;
}

.footer-links a {
  color: #c4d0d5;

  font-size: 13px;

  transition: color var(--transition);
}

.footer-links a:hover {
  color: #6fffd2;
}

/* =========================================================
   RESPONSIVE NAVIGATION
========================================================= */

@media (max-width: 900px) {
  .hero {
    padding: 75px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-art {
    min-height: 300px;
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .nav {
    min-height: 68px;

    flex-wrap: wrap;

    gap: 10px;

    padding: 12px 0;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .nav-links {
    width: 100%;

    justify-content: space-between;

    gap: 10px;

    padding: 5px 0;
  }

  .nav-links > a:not(.btn) {
    font-size: 12px;
  }

  .nav-links .btn {
    min-height: 36px;

    padding: 7px 11px;

    font-size: 11px;
  }

  .hero {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero p {
    font-size: 14px;
  }

  .hero-art {
    min-height: 245px;
  }

  .hero-symbol {
    width: 105px;
    height: 105px;

    font-size: 60px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;

    gap: 10px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }
}
