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

:root {
  --bg: #04101f;
  --bg-deep: #071a2c;
  --surface: #0e2238;
  --surface-soft: #112b44;
  --primary: #61d8ff;
  --primary-deep: #06192a;
  --accent: #10d6c4;
  --accent-2: #6fe9ff;
  --text: #d8ecff;
  --muted: #9ab8d2;
  --shadow: 0 24px 44px rgba(2, 8, 18, 0.48);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(16, 214, 196, 0.24), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(97, 216, 255, 0.2), transparent 30%),
    repeating-linear-gradient(
      90deg,
      rgba(111, 233, 255, 0.03) 0 1px,
      transparent 1px 50px
    ),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-deep) 100%),
    var(--bg);
  color: var(--text);
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

#content {
  width: 100%;
  min-height: 100vh;
  padding: 0 clamp(0.8rem, 2.2vw, 2rem);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 0.8rem;
  padding-bottom: 0.25rem;
}

#feedback {
  display: none;
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: #e6faf5;
  color: #0d5d54;
  font-weight: 600;
  padding: 0.7rem 1rem;
  box-shadow: 0 6px 16px rgba(31, 158, 143, 0.15);
}

.vertical-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(8, 25, 43, 0.87), rgba(10, 38, 61, 0.83));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(111, 233, 255, 0.2);
  box-shadow: 0 14px 34px rgba(2, 8, 18, 0.55);
}

#logo_link {
  display: inline-flex;
  align-items: center;
}

.logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(111, 233, 255, 0.6);
  box-shadow: 0 10px 24px rgba(4, 12, 23, 0.62);
}

#menu-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

#menu-links a {
  position: relative;
  text-decoration: none;
  color: #bfe9ff;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.2s ease;
}

#menu-links a::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 7px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

#menu-links a:hover {
  background: linear-gradient(135deg, #0e3657, #17527d);
  color: #eaf8ff;
  transform: translateY(-1px);
}

#menu-links a:hover::after {
  transform: scaleX(1);
}

#menu-links a[aria-current="page"] {
  color: #eaffff;
  background: linear-gradient(135deg, #0f4c6d, #11678e);
  box-shadow: 0 8px 20px rgba(16, 214, 196, 0.35);
}

#menu-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(140deg, #0d3f5f, #117380);
  box-shadow: 0 10px 20px rgba(16, 42, 67, 0.25);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
}

.menu-toggle .bar {
  width: 22px;
  height: 2.5px;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

#home {
  margin-top: 1.2rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(111, 233, 255, 0.15);
}

#home::after {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background: linear-gradient(115deg, transparent 35%, rgba(107, 211, 215, 0.22) 50%, transparent 65%);
  transform: translateX(-120%) rotate(8deg);
  animation: heroSweep 9s ease-in-out infinite;
  pointer-events: none;
}

#home-box {
  min-height: 430px;
}

.home-img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
  filter: saturate(110%) contrast(105%);
}

.video {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

#home-msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(to bottom right, rgba(2, 10, 20, 0.72), rgba(7, 30, 52, 0.42));
}

.home-title {
  margin: 0;
  max-width: 20ch;
  font-family: "Nosifer", cursive;
  font-size: clamp(1.6rem, 4.6vw, 3.3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background-image: linear-gradient(-200deg, #0b4450 10%, #36d7cf 29%, #d9d9d9 67%, #c72bdf 100%);
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 5s linear infinite;
  display: inline-block;
}

#home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.text-space {
  background:
    linear-gradient(180deg, rgba(11, 35, 56, 0.96) 0%, rgba(9, 29, 46, 0.96) 100%),
    radial-gradient(circle at 120% -20%, rgba(111, 233, 255, 0.2), transparent 45%);
  border: 1px solid rgba(111, 233, 255, 0.2);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.text-space:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 44px rgba(1, 8, 16, 0.62);
}

.computers {
  width: min(430px, 100%);
  float: right;
  margin: 0 0 1rem 1.2rem;
  border-radius: 14px;
  border: 4px solid #eff3f8;
}

.computers-title {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: var(--primary);
  font-family: "Nosifer", cursive;
}

.web-text {
  margin: 0.8rem 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.computer-card,
.screen-card {
  position: relative;
  border: 1px solid rgba(111, 233, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: floatCard 5.5s ease-in-out infinite;
}

.screen-card {
  animation-delay: 0.8s;
}

.card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 19, 33, 0.94), rgba(9, 40, 65, 0.38));
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.computer-card:hover .content,
.screen-card:hover .content {
  opacity: 1;
}

.text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: "Lora", serif;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.icon2 {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 62px;
  height: 62px;
  padding: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 20px rgba(16, 42, 67, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 90;
  animation: pulseChat 2.4s ease-in-out infinite;
}

.icon2:hover {
  transform: translateY(-2px) scale(1.03);
}

.chat-popup {
  display: none;
  position: fixed;
  right: 1.1rem;
  bottom: 5.5rem;
  width: min(340px, calc(100vw - 2rem));
  border: 1px solid rgba(111, 233, 255, 0.3);
  border-radius: 14px;
  background: linear-gradient(160deg, #0c253d, #123451);
  box-shadow: var(--shadow);
  z-index: 100;
}

.form-container {
  padding: 1rem;
}

#msg {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #9ceeff;
}

.form-container input[type="text"],
.form-container input[type="email"] {
  width: 100%;
  border: 1px solid rgba(111, 233, 255, 0.28);
  border-radius: 10px;
  background: rgba(6, 23, 39, 0.78);
  color: #d8ecff;
  padding: 0.75rem;
  font-family: inherit;
  margin-bottom: 0.6rem;
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus {
  outline: 2px solid #b5e8df;
  border-color: #8ad8cb;
  background: #fff;
}

.form-container textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid rgba(111, 233, 255, 0.28);
  border-radius: 10px;
  background: rgba(6, 23, 39, 0.78);
  color: #d8ecff;
  padding: 0.75rem;
  font-family: inherit;
  resize: vertical;
}

.form-container textarea:focus {
  outline: 2px solid #b5e8df;
  border-color: #8ad8cb;
  background: #fff;
}

.form-container .btn {
  width: 100%;
  border: 0;
  padding: 0.75rem;
  border-radius: 10px;
  margin-top: 0.7rem;
  cursor: pointer;
  font-weight: 700;
}

.form-container .btn {
  background: var(--accent);
  color: #fff;
}

.form-container .cancel {
  background: #d64b4b;
}

footer {
  margin-top: 2.5rem;
  padding: 2rem 1.2rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(107, 211, 215, 0.24), transparent 26%),
    radial-gradient(circle at 92% 86%, rgba(16, 214, 196, 0.18), transparent 28%),
    linear-gradient(135deg, #061424, #0b2a45 55%, #0e3f64 100%);
  border: 1px solid rgba(111, 233, 255, 0.18);
  color: #d8f6f2;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.contact {
  margin: 0;
}

.contact p {
  margin: 0.45rem 0;
}

footer a {
  color: #eafaf8;
}

footer a:hover {
  color: var(--accent-2);
}

.social {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.social img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.25));
}

.linkedin {
  width: 36px;
  height: 36px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.about-page {
  margin-top: 1.4rem;
  display: grid;
  gap: 1.5rem;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  background: linear-gradient(135deg, #081a30 0%, #0b2f4f 60%, #0f3d5a 100%);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.2vw, 2rem);
  box-shadow: var(--shadow);
  color: #edf5ff;
  overflow: hidden;
}

.about-kicker {
  margin: 0 0 0.5rem;
  color: #4bd6cf;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.about-hero h1 {
  margin: 0;
  font-family: "Nosifer", cursive;
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);
  line-height: 1.15;
}

.about-hero-content p {
  max-width: 58ch;
  color: #d7e6f5;
}

.about-hero-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #56d9ff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.about-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.about-card {
  background: linear-gradient(170deg, rgba(12, 40, 63, 0.95), rgba(9, 28, 44, 0.95));
  border: 1px solid rgba(111, 233, 255, 0.2);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.6rem);
  box-shadow: var(--shadow);
}

.about-card h2 {
  margin-top: 0;
  color: var(--primary);
}

.about-card p {
  color: var(--muted);
}

.quote-card blockquote {
  margin: 0;
  border-left: 4px solid var(--accent);
  padding-left: 0.9rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #c9ebff;
}

.services-section {
  background: linear-gradient(135deg, #0c2a44, #113b5c);
  color: #ebf8ff;
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.7rem);
  box-shadow: var(--shadow);
}

.services-section h2 {
  margin: 0 0 1rem;
  text-align: center;
  color: #38d8cf;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-item {
  border: 1px solid rgba(115, 219, 237, 0.34);
  background: rgba(10, 32, 52, 0.65);
  border-radius: 14px;
  padding: 0.95rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: rgba(117, 235, 245, 0.8);
}

@keyframes heroSweep {
  0% {
    transform: translateX(-120%) rotate(8deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  45% {
    transform: translateX(120%) rotate(8deg);
    opacity: 0;
  }
  100% {
    transform: translateX(120%) rotate(8deg);
    opacity: 0;
  }
}

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

@keyframes pulseChat {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 20px rgba(16, 42, 67, 0.2);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 16px 26px rgba(18, 154, 162, 0.35);
  }
}

.service-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #75ebf5;
  font-size: 1rem;
}

.service-item p {
  margin: 0;
  color: #d4e5f6;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  #home-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    align-items: start;
  }

  .text-space {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .computer-card {
    grid-column: 2 / 3;
  }

  .screen-card {
    grid-column: 3 / 4;
  }

  .card-img {
    height: 520px;
  }

  .content {
    padding: 1.2rem;
  }
}

@media (max-width: 899px) {
  .vertical-menu {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
  }

  #logo_link {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  #menu-links {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 0.34s ease, opacity 0.28s ease, transform 0.28s ease;
  }

  #menu-links.menu-open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding-top: 0.5rem;
  }

  #menu-links a {
    width: 100%;
    text-align: center;
    border: 1px solid rgba(15, 61, 90, 0.14);
    background: rgba(255, 255, 255, 0.65);
  }

  #menu-links a:hover {
    background: var(--primary);
  }

  #menu-links a::after {
    left: 24%;
    right: 24%;
  }

  .computers {
    float: none;
    margin: 0 0 1rem;
  }

  .computer-card,
  .screen-card {
    animation: none;
  }

  footer {
    border-radius: var(--radius);
  }

  .about-hero,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  #content {
    padding: 0 0.8rem;
  }

  .home-img,
  .video,
  #home-box {
    min-height: 310px;
  }

  .icon2 {
    width: 56px;
    height: 56px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-image-wrap {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #home::after,
  .computer-card,
  .screen-card,
  .icon2 {
    animation: none;
  }
}
