/* Base styles */
:root {
  --bg: #0b1020;
  --panel: #0f1630;
  --text: #e6ecff;
  --muted: #a7b0d8;
  --brand: #5ac8fa;
  --brand-2: #7ef1c9;
  --line: #1b2447;
  --card: #0f1733;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35)
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px
}

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

.muted {
  color: var(--muted);
  font-size: .9rem
}

.center {
  text-align: center
}

/* Motion defaults */
*,
*::before,
*::after {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(11, 16, 32, .7);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line)
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700
}

.logo img {
  filter: drop-shadow(0 2px 10px rgba(90, 200, 250, .3));
  transition: transform .25s ease
}

.logo:hover img {
  transform: scale(1.06)
}

.site-nav {
  display: flex;
  gap: 14px
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  position: relative
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1)
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(122, 150, 255, .12)
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
  padding: 48px 24px;
  border-bottom: 1px solid var(--line);
  height: 100vh;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 12px
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px
}

.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}
.actions{
  padding-right: 50px;
}
.hero-art {
  height: 320px;
  position: relative;
  perspective: 1000px
}

.hero-art .hero-img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 150%;
  max-height: 170%;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(20, 30, 60, .6), transparent);
  will-change: transform, filter;
  transition: transform .3s ease, filter .3s ease;
  animation: shine 12s linear infinite;
  padding: 20px
}

@keyframes shine {
  0% {
    filter: brightness(1)
  }

  50% {
    filter: brightness(1.08)
  }

  100% {
    filter: brightness(1)
  }
}

/* Sections */
.trust,
.highlight,
.cta {
  padding: 40px 24px;
  border-bottom: 1px solid var(--line);
}
.trust{
  height: 100vh;
}
@media(max-width: 768px){
  .cta{
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    gap: 20px;
  }
}
.highlight{
  height: 100vh;
}

.features {
  align-items: center;
  justify-content: center;
  display: flex;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px
}

.features article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.features article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45)
}

.highlight-inner {
  max-width: 1100px;
  margin: 0 auto
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45)
}

.card .badge {
  font-size: .75rem;
  color: #06101f;
  background: linear-gradient(to right, var(--brand), var(--brand-2));
  padding: 4px 8px;
  border-radius: 999px;
  align-self: flex-start
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: #0e152d;
  transition: transform .15s ease, box-shadow .15s ease
}

.btn:hover {
  background: #111a38;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35)
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06101f;
  border: none
}

.btn.outline {
  background: transparent
}

/* Grids */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

/* Form */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px
}

input,
textarea {
  background: #0c1430;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none
}

input:focus,
textarea:focus {
  border-color: var(--brand)
}

.error {
  color: #ff9090;
  height: 1rem
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  background-color: var(--background); /* optional for contrast */
  align-items: center;
  justify-content: center;
}
@media(max-width: 768px){
  .site-footer{
    border-top: none;
    margin-top: -100px;
  }
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  color: var(--muted);
}

.footer-inner .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: 1 1 300px; /* flexible width */
}
@media (max-width: 768px)
{
  .brand img{
    display: none;
  }
  .brand strong{
    display: none;
  }
}
.footer-inner .contacts {
  display: flex;
  gap: 10px;
  color: white;
  flex: 1 1 300px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
  .footer-inner, .site-footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
  }

  .footer-inner .contacts {
    justify-content: flex-start;
  }
}


/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.show {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease
}

.reveal.fade-up {
  transition-duration: .6s
}

.reveal.fade-in {
  transform: none
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr
  }

  .features {
    grid-template-columns: 1fr
  }

  .cards {
    grid-template-columns: 1fr
  }

  .service-grid,
  .contact-grid,
  .team {
    grid-template-columns: 1fr
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 12px;
    top: 60px;
    background: #0b1128;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    flex-direction: column
  }

  .nav-toggle {
    display: block
  }

  .site-header.open .site-nav {
    display: flex
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important
  }
}