
/* =====================================
   XY TECH WEBSITE STYLES
   ===================================== */

:root {
  --bg: #080b16;
  --bg-alt: #0e1425;
  --panel: #121a2d;
  --primary: #7547ff;
  --blue: #00c8ff;
  --text: #f6f7ff;
  --muted: #aab4c9;
  --border: rgba(255, 255, 255, 0.12);
  --green: #25d366;
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section {
  padding: 95px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.muted {
  color: var(--muted);
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--blue), #9a6aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* HEADER AND NAVIGATION */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 11, 22, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo span {
  color: var(--blue);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-links a {
  color: #d8deed;
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links .nav-cta {
  background: var(--primary);
  color: white;
  padding: 10px 17px;
  border-radius: 25px;
}

.nav-links .nav-cta:hover {
  background: #8b68ff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--panel);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.35rem;
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(110deg, var(--primary), #4d68ff);
  color: white;
}

.button-primary:hover {
  background: linear-gradient(110deg, #8b65ff, #358cff);
}

.button-outline {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.button-outline:hover {
  border-color: var(--blue);
}

.full-width {
  width: 100%;
}

/* HERO SECTION */

.hero {
  min-height: 660px;
  min-height: min(760px, calc(100svh - 76px));
  display: flex;
  align-items: center;
  padding: 100px 0;
  background:
    radial-gradient(
      ellipse at 80% 15%,
      rgba(0, 200, 255, 0.13),
      transparent 35%
    ),
    radial-gradient(
      ellipse at 15% 80%,
      rgba(117, 71, 255, 0.18),
      transparent 40%
    ),
    var(--bg);
}

.hero-content {
  max-width: 1120px;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 6.5vw, 5.4rem);
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin: 18px 0 25px;
}

.hero-description {
  color: var(--muted);
  max-width: 670px;
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-dot {
  display: inline-block;
  height: 9px;
  width: 9px;
  background: #43e39b;
  border-radius: 50%;
  margin-right: 8px;
}

/* SECTION HEADINGS */

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-heading h2,
.about-grid h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 17px;
  letter-spacing: -1px;
}

.section-heading > p:last-child {
  color: var(--muted);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 65px;
  align-items: center;
}

.about-grid > div:first-child > p:not(.eyebrow) {
  margin-bottom: 17px;
}

.about-panel {
  padding: 32px;
  background:
    linear-gradient(
      145deg,
      rgba(117, 71, 255, 0.13),
      rgba(0, 200, 255, 0.04)
    ),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.about-panel h3 {
  margin-bottom: 8px;
}

.about-panel p {
  color: var(--muted);
}

.about-panel hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 25px 0;
}

.tagline {
  font-weight: 900;
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  margin-top: 18px;
}

.check-list li {
  padding: 5px 0;
}

.check-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: bold;
  margin-right: 10px;
}

.text-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  margin-top: 12px;
}

/* CARDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  min-width: 0;
  padding: 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 200, 255, 0.55);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: rgba(117, 71, 255, 0.17);
  border: 1px solid rgba(117, 71, 255, 0.24);
  border-radius: 15px;
  margin-bottom: 19px;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 20px;
}

.card .button {
  width: 100%;
  margin-top: auto;
}

.service-card p {
  margin-bottom: 0;
}

.small-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 24px;
}

/* HOW WE WORK */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step {
  padding: 25px 20px;
  border-left: 2px solid var(--primary);
  background: rgba(255, 255, 255, 0.025);
}

.step > span {
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 900;
}

.step h3 {
  margin: 10px 0;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 25px;
  align-items: start;
}

.contact-panel,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
}

.contact-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail > span {
  font-size: 1.5rem;
}

.contact-detail p {
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 14px 0 7px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  background: #0b1020;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: white;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8c98ae;
}

.contact-form select option {
  background: var(--bg-alt);
  color: white;
}

.contact-form textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-form button {
  margin-top: 18px;
}

.contact-form .small-note {
  margin-top: 12px;
}

/* FOOTER */

.footer {
  padding: 38px 0 25px;
  background: #060811;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}

.footer-content > p {
  color: var(--muted);
  font-size: 0.85rem;
}

.copyright {
  margin-top: 15px;
  padding-top: 20px;
  width: 100%;
  border-top: 1px solid var(--border);
}

/* FLOATING WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-size: 1.65rem;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.07);
}

/* TABLET */

@media (max-width: 900px) {
  .nav-links {
    gap: 16px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    gap: 35px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .section {
    padding: 70px 0;
  }

  .navbar {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 22px 5%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px;
  }

  .nav-links .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 95px 0 85px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .contact-panel,
  .contact-form,
  .about-panel {
    padding: 23px;
  }
}

@media (max-width: 420px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 23px;
  }
}

/* RESPECT ACCESSIBILITY PREFERENCES */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}