/* ========================================
   Xiphias Tech — Main Stylesheet
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #0a1628, #122240);
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #c0c8d4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Language Visibility --- */
[data-lang="en"] [data-lang="nl"] { display: none; }
[data-lang="nl"] [data-lang="en"] { display: none; }

/* --- Top Bar --- */
.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.logo-icon {
  height: 80px;
  width: auto;
}

.logo-text {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 16px;
}

.logo-accent {
  color: #00E5FF;
}

.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #607080;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: color 0.2s;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  color: #00E5FF;
  outline: 1px solid #00E5FF;
  outline-offset: 2px;
}

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  color: #607080;
  font-weight: 300;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-top: 8px;
  background: linear-gradient(90deg, #00E5FF, #00B4D8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: #c0c8d4;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 500px;
  margin-inline: auto;
}

/* --- Highlights Bar --- */
.highlights {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 24px;
  background: rgba(0, 229, 255, 0.05);
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.highlight {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-label {
  font-size: 18px;
  font-weight: 700;
  color: #00E5FF;
}

.highlight-sub {
  font-size: 11px;
  color: #607080;
}

.highlight-divider {
  width: 1px;
  height: 32px;
  background: rgba(0, 229, 255, 0.15);
}

/* --- Services Grid --- */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 24px;
}

.service-card {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
}

.service-num {
  font-size: 12px;
  color: #00E5FF;
  font-weight: 600;
}

.service-name {
  font-size: 16px;
  color: #ffffff;
  margin-top: 6px;
  font-weight: 500;
}

.service-desc {
  font-size: 13px;
  color: #607080;
  margin-top: 6px;
}

/* --- About --- */
.about {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-label {
  font-size: 12px;
  color: #00E5FF;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

.about-text {
  font-size: 14px;
  color: #c0c8d4;
  margin-top: 12px;
  line-height: 1.7;
  max-width: 500px;
  margin-inline: auto;
}

/* --- Contact Footer --- */
.contact {
  text-align: center;
  padding: 32px 24px;
  background: rgba(0, 0, 0, 0.2);
}

.contact-email {
  font-size: 14px;
  color: #00E5FF;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.contact-email:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 11px;
  color: #607080;
  margin-top: 12px;
}

/* --- Responsive (mobile) --- */
@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }

  .highlights {
    flex-direction: column;
    gap: 16px;
  }

  .highlight-divider {
    display: none;
  }

  .hero {
    padding: 48px 20px 40px;
  }
}
