@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --header-height: 3.5rem;
  
  --primary-color: #c0c0c0;
  --primary-alt: #a8a8a8;
  --accent-color: #ffffff;
  --secondary-color: #808080;
  --text-color: #ffffff;
  --text-color-light: #c0c0c0;
  --body-color: #0a0a0a;
  --container-color: #1a1a1a;
  --border-color: #2a2a2a;
  --background-alt: #151515;
  --shadow-color: rgba(0, 0, 0, 0.5);
  
  --gradient-primary: linear-gradient(135deg, #2a2a2a, #000000);
  --gradient-accent: linear-gradient(135deg, #c0c0c0, #808080);
  --gradient-secondary: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  --gradient-silver: linear-gradient(135deg, #c0c0c0, #a8a8a8, #808080);
  --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a, #2a2a2a);
  
  --body-font: 'Inter', sans-serif;
  --title-font: 'Inter', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;
  
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1024px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.section {
  padding: 6.5rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--text-color);
  text-align: center;
  margin-bottom: var(--mb-3);
  background: var(--gradient-silver);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: var(--font-bold);
  text-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.8);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-bold);
  color: var(--text-color);
}

.logo__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-silver);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-weight: var(--font-bold);
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(192, 192, 192, 0.3);
  transition: all 0.3s ease;
}

.logo__icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(192, 192, 192, 0.4);
}

.logo__text {
  font-size: 1.25rem;
  color: var(--text-color);
}

.nav__menu {
  position: relative;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-silver);
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(192, 192, 192, 0.5);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
  box-shadow: 0 0 8px rgba(192, 192, 192, 0.6);
}

.nav__toggle,
.nav__close {
  display: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hamburger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 18px;
  height: 18px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(192, 192, 192, 0.05));
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hamburger__box {
  width: 100%;
  height: 100%;
  background: var(--gradient-silver);
  border-radius: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.nav__toggle:hover .hamburger {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(192, 192, 192, 0.1));
  border-color: rgba(192, 192, 192, 0.4);
  box-shadow: 0 4px 12px rgba(192, 192, 192, 0.2);
  transform: scale(1.05);
}

.nav__toggle:hover .hamburger__box {
  filter: brightness(1.2);
  box-shadow: 0 1px 3px rgba(192, 192, 192, 0.3);
}

.nav__toggle.active .hamburger {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(192, 192, 192, 0.1));
  border-color: var(--accent-color);
}

.nav__toggle.active .hamburger__box {
  background: var(--accent-color);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.close__icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.close__line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.close__line:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.close__line:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.nav__close:hover .close__line {
  background: var(--accent-color);
  transform: translateY(-50%) rotate(45deg) scale(1.1);
}

.nav__close:hover .close__line:last-child {
  transform: translateY(-50%) rotate(-45deg) scale(1.1);
}

.hero {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(192, 192, 192, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(192, 192, 192, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero__container {
  gap: 4rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  animation: herocontentfadein 1.2s ease-out 0.3s forwards;
}

.hero__badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(192, 192, 192, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  margin-bottom: var(--mb-1);
  box-shadow: 0 4px 16px rgba(192, 192, 192, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  animation: herobadgefadein 0.8s ease-out 0.6s forwards;
}

.badge__text {
  color: var(--primary-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-shadow: 0 0 8px rgba(192, 192, 192, 0.3);
}

.hero__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: herotitlefadein 1s ease-out 0.9s forwards;
}

.title__main {
  background: var(--gradient-silver);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
  animation: shimmer 3s ease-in-out infinite;
}

.title__accent {
  color: var(--text-color-light);
  font-weight: var(--font-medium);
  opacity: 0.8;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.hero__description {
  margin-bottom: var(--mb-2-5);
  color: var(--text-color-light);
  line-height: 1.8;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: herodescriptionfadein 1s ease-out 1.2s forwards;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: herobuttonsfadein 1s ease-out 1.5s forwards;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: var(--normal-font-size);
}

.button--primary {
  background: var(--gradient-silver);
  color: #0a0a0a;
  box-shadow: 0 8px 32px rgba(192, 192, 192, 0.2);
  border: 1px solid var(--primary-color);
  font-weight: var(--font-semi-bold);
}

.button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(192, 192, 192, 0.3);
  background: var(--gradient-accent);
  filter: brightness(1.1);
}

.button--outline {
  background: rgba(26, 26, 26, 0.8);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.button--outline:hover {
  background: var(--gradient-dark);
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(192, 192, 192, 0.2);
}

.button__icon {
  font-size: 1.2rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(50px) scale(0.9);
  animation: herovisualfadein 1.2s ease-out 0.8s forwards;
}

.visual__container {
  position: relative;
  width: 500px;
  height: 400px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.asset__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: modernfloat 8s ease-in-out infinite;
}

.pi__asset {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8))
    drop-shadow(0 0 20px rgba(192, 192, 192, 0.2));
  border-radius: 12px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.pi__asset:hover {
  transform: rotateY(15deg) rotateX(5deg) scale(1.05);
  filter:
    drop-shadow(0 30px 60px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 30px rgba(192, 192, 192, 0.4));
}


.asset__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 12px;
}

.tech__particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(192, 192, 192, 0.3), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(192, 192, 192, 0.2), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(192, 192, 192, 0.4), transparent);
  animation: particlesdrift 15s linear infinite;
}




.backdrop__effects {
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  pointer-events: none;
  z-index: -1;
}

.grid__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(rgba(192, 192, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: gridshift 20s linear infinite;
}

.ambient__glow {
  position: absolute;
  top: 20%;
  left: 20%;
  right: 20%;
  bottom: 20%;
  background: radial-gradient(
    ellipse at center,
    rgba(192, 192, 192, 0.1) 0%,
    rgba(192, 192, 192, 0.05) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: ambientpulse 8s ease-in-out infinite;
}

@keyframes herocontentfadein {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes herobadgefadein {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes herotitlefadein {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes herodescriptionfadein {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes herobuttonsfadein {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes herovisualfadein {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes modernfloat {
  0%, 100% {
    transform: translateY(0px) rotateX(1deg) rotateY(1deg);
  }
  50% {
    transform: translateY(-15px) rotateX(-1deg) rotateY(-1deg);
  }
}

@keyframes particlesdrift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
  }
  100% {
    background-position: 100% 100%, -100% -100%, 50% -50%;
  }
}




@keyframes gridshift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

@keyframes ambientpulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

.projects {
  background: var(--background-alt);
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-silver);
  opacity: 0.3;
}

.coming__soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 4rem 0;
}

.coming__content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.coming__icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-silver);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: #0a0a0a;
  box-shadow: 0 12px 40px rgba(192, 192, 192, 0.2);
  animation: float 3s ease-in-out infinite;
}

.coming__text {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  background: var(--gradient-silver);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.coming__description {
  color: var(--text-color-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.system {
  position: relative;
  overflow: hidden;
}

.system::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-silver);
  opacity: 0.3;
}


.footer {
  background: var(--container-color);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__logo .logo__icon {
  background: var(--gradient-silver);
}

.footer__logo .logo__text {
  color: var(--text-color);
  font-size: 1.25rem;
  font-weight: var(--font-bold);
}

.footer__copy {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background: var(--primary-color);
  color: #0a0a0a;
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: all 0.4s;
  box-shadow: 0 4px 16px rgba(192, 192, 192, 0.3);
}

.scrollup:hover {
  background: var(--primary-alt);
  transform: translateY(-0.25rem);
  box-shadow: 0 6px 24px rgba(192, 192, 192, 0.4);
}

.scrollup__icon {
  font-size: 1.25rem;
}

.show-scroll {
  bottom: 5rem;
}

@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .section {
    padding: 5rem 0 1rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__visual {
    order: -1;
  }

  .visual__container {
    width: 400px;
    height: 300px;
  }



}

@media screen and (max-width: 767px) {
  .container {
    margin-left: var(--mb-0-75);
    margin-right: var(--mb-0-75);
  }

  .nav__menu {
    position: fixed;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(26, 26, 26, 0.95));
    backdrop-filter: blur(25px);
    width: 24px;
    height: 24px;
    max-width: none;
    top: var(--mb-0-75);
    right: var(--mb-0-75);
    z-index: var(--z-fixed);
    padding: 0;
    border-radius: 6px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(192, 192, 192, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transform-origin: top right;
    overflow: hidden;
  }

  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: calc(var(--z-fixed) + 1);
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
    width: 100%;
  }

  .nav__link {
    color: var(--text-color);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.9));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(192, 192, 192, 0.15);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
  }

  .nav__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.1), transparent);
    transition: left 0.5s ease;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover,
  .nav__link.active-link {
    color: var(--accent-color);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(26, 26, 26, 0.9));
    border-color: rgba(192, 192, 192, 0.3);
    transform: translateY(30px) scale(1);
    box-shadow:
      0 8px 32px rgba(192, 192, 192, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .nav__link:hover::before {
    left: 100%;
  }

  .nav__toggle,
  .nav__close {
    display: block;
    cursor: pointer;
  }

  .nav__toggle {
    z-index: calc(var(--z-fixed) + 2);
    position: relative;
    margin-right: 1rem;
    padding: 0.25rem;
  }

  .show-menu {
    width: 280px;
    height: 320px;
    top: calc(var(--header-height) + 0.5rem);
    right: var(--mb-0-75);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    box-shadow:
      0 25px 80px rgba(0, 0, 0, 0.8),
      0 0 0 1px rgba(192, 192, 192, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .show-menu .nav__link {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .show-menu .nav__link:nth-child(1) {
    transition-delay: 0.2s;
  }

  .show-menu .nav__link:nth-child(2) {
    transition-delay: 0.25s;
  }

  .show-menu .nav__link:nth-child(3) {
    transition-delay: 0.3s;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1rem);
  }

  .hero__buttons {
    flex-direction: column;
  }

  .button {
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__description {
    font-size: 1rem;
  }


  .visual__container {
    width: 320px;
    height: 240px;
  }

}