/* =========================================================
   Fonts
========================================================= */
@font-face {
  font-family: 'Inter';
  src: url('/public/fonts/inter/Inter-VariableFont.ttf') format('truetype-variations');
  font-display: swap;
}

@font-face {
  font-family: 'Plex';
  src: url('/public/fonts/ibm-plex-mono/IBMPlexMono-Regular.ttf') format('truetype');
  font-display: swap;
}

/* =========================================================
   Theme Variables
========================================================= */
:root {
  /* Professional, Trustworthy, Enterprise-Grade Palette */
  --bg: #0f1115;              /* Deep charcoal */
  --panel: #15181d;           /* Main surface */
  --panel-soft: #1c2027;      /* Sub panels / cards */

  --ink: #e6e8eb;             /* Primary text */
  --ink-soft: #a1a7b0;        /* Secondary text */

  --accent: #4f7ffa;          /* Professional blue */
  --accent-soft: rgba(79, 127, 250, 0.7);
  --accent-faint: rgba(79, 127, 250, 0.08);

  --border: rgba(255, 255, 255, 0.11);
  --radius: 8px;
  --transition: 0.22s ease;
}

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

html, body {
  min-height: 100%;
}

body {
  background: radial-gradient(circle at top left, #232a3f 0, #0f1115 55%);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-soft);
  overflow-x: hidden;
  line-height: 1.55;
}

/* Basic typography */
h1, h2, h3 {
  letter-spacing: 0.2px;
  line-height: 1.25;
  color: var(--ink);
}

h1 {
  font-size: 2.1rem;
  font-weight: 650;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 28px 0 10px;
}

p, li {
  font-size: 1.02rem;
  color: var(--ink-soft);
}

h1 {
  display: flex;              /* Put line + text on same axis */
  align-items: center;        /* Vertically center text to the line */
  gap: 22px;                  /* Spacing between line and text */
  height: 128px;               /* Total height of the block */
  position: relative;
}

/* The vertical accent line */
h1::before {
  content: "";
  display: block;
  width: 2px;
  height: 128px;               /* Fixed height */
  background: var(--border);
  border-radius: 2px;
  opacity: 0.85;
}


/* Orbitron class reused as a subtle heading style (still Inter) */
.orbitron {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink);
}

/* Generic link styling */
a {
  color: var(--accent);
  text-decoration: none;
}

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

/* =========================================================
   Layout
========================================================= */



/* =========================================================
   Header
========================================================= */

header {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 13, 18, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  width: 100%;
  margin: 0 auto;
}

/* Brand */
.brand {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 0;
}

/* Nav links */
.links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.links a {
  padding: 8px 10px;
  font-size: 0.96rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

/* =========================================================
   Main Content Wrapper
========================================================= */

main {
  background: rgba(11, 13, 18, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px 32px;
  margin: 32px auto;    /* center it */
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  max-width: 980px;
}

section {
  margin-bottom: 34px;
  animation: fadeIn 0.45s ease both;
}

section:last-of-type {
  margin-bottom: 0;
}

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

/* =========================================================
   Hero Section
========================================================= */

.hero {
  margin-bottom: 36px;
}

.hero .intro {
  max-width: 620px;
  margin-bottom: 22px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* CTA Button system */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform 0.16s ease-out;
  white-space: nowrap;
}

.cta::after {
  content: "↗";
  font-size: 0.95em;
  opacity: 0.9;
  transition: transform var(--transition), opacity var(--transition);
}

.cta:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.cta:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

/* Secondary CTA */
.cta.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--ink-soft);
  box-shadow: none;
}

.cta.secondary::after {
  content: "→";
}

.cta.secondary:hover {
  background: var(--accent-faint);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
}

/* =========================================================
   Content Sections
========================================================= */

.services {
  list-style: none;
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.services li {
  padding-left: 0;
}

.services strong {
  color: var(--ink);
  font-weight: 550;
}

.text-wrap {
  max-width: 650px;  /* ideal readable width */
  margin: 0 auto;    /* center it */
}

.tech-philosophy {
  margin-top: 40px;
  margin-bottom: 40px;
}

.tech-philosophy p {
  margin-bottom: 16px;
  line-height: 1.65;
}

.tech-philosophy .highlight {
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.05rem;
}


/* =========================================================
   Footer
========================================================= */

footer {
  margin: 0 20px 30px;
  padding: 18px 4px 4px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.87rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 900px) {
  header .nav {
    padding: 14px 16px;
  }

  main {
    margin: 18px 14px 24px;
    padding: 26px 20px 24px;
  }
}

@media (max-width: 768px) {
  .links {
    display: none;
  }

  header .nav {
    flex-direction: row;
    align-items: center;
  }

  .hero {
    margin-bottom: 26px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .hero .intro {
    font-size: 0.98rem;
  }

  footer {
    margin: 0 14px 20px;
    max-width: 980px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta, .cta.secondary {
    width: 100%;
    justify-content: center;
  }
}
