/* =========================
   Root / Brand Variables
   ========================= */
:root{
  /* Brand blues (from logo) */
  --brand-500: #099ACD;
  --brand-600: #0987B7;
  --brand-700: #0978AE;

  /* Neutrals */
  --bg-900: #061018;
  --bg-800: #18242C;
  --text-100: #E7EEF4;
  --text-300: #B9C4CD;
  --text-500: #5C646C;

  /* Effects */
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;

  /* Gradients */
  --brand-grad: linear-gradient(135deg, var(--brand-500), var(--brand-700));
}

/* =========================
   Global / Reset
   ========================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html, body{
  margin: 0;
  padding: 0;
}

body{
  background:
    radial-gradient(1200px 800px at 20% 0%,
      rgba(9,154,205,.18), transparent 60%),
    linear-gradient(180deg, var(--bg-900), var(--bg-800));
  color: var(--text-100);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: .01em;
}

/* =========================
   Typography
   ========================= */
h1, h2, h3{
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0 0 14px 0;
}

h1{
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
}

h2{
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

h3{
  font-size: 1.15rem;
}

p{
  font-weight: 400;
  color: var(--text-300);
  max-width: 68ch;
  margin: 0 0 18px 0;
}

.subtle{
  color: var(--text-300);
}

/* =========================
   Links
   ========================= */
a{
  color: var(--brand-500);
  text-decoration: none;
}

a:hover{
  color: var(--brand-600);
  text-decoration: underline;
}

/* =========================
   Layout Helpers
   ========================= */
.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px;
}

.section{
  padding-top: 48px;
  padding-bottom: 48px;
}

/* =========================
   Header / Navigation
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,16,24,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(9,154,205,.15);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo{
  height: 36px;
  width: auto;
}

.brand-name{
  font-weight: 600;
  letter-spacing: .18em;
  font-size: .95rem;
}

.nav-links{
  display: flex;
  gap: 28px;
}

.nav-links a{
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-300);
  position: relative;
}

.nav-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand-500);
  transition: width .15s ease;
}

.nav-links a:hover{
  color: var(--text-100);
}

.nav-links a:hover::after{
  width: 100%;
}

/* =========================
   Hero Section
   ========================= */
.hero{
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 70% 30%,
      rgba(9,154,205,.22), transparent 60%);
  pointer-events: none;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero-text p{
  font-size: 1.05rem;
}

.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-mark{
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .85;
}

.hero-mark img{
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
  opacity: .95;
}

/* =========================
   Buttons
   ========================= */
.btn{
  font-family: inherit;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(9,154,205,.35);
  background: rgba(9,154,205,.10);
  color: var(--text-100);
  cursor: pointer;
  transition: transform .12s ease,
              background .12s ease,
              border-color .12s ease,
              filter .12s ease;
}

.btn:hover{
  background: rgba(9,154,205,.18);
  border-color: rgba(9,154,205,.55);
  transform: translateY(-1px);
}

.btn-primary{
  background: var(--brand-grad);
  border-color: rgba(255,255,255,.12);
}

.btn-primary:hover{
  filter: brightness(1.05);
}

/* =========================
   Projects Grid
   ========================= */
.projects-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.project-card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(9,154,205,.18);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}

.project-card:hover{
  transform: translateY(-2px);
  border-color: rgba(9,154,205,.45);
}

.project-card h3{
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.project-card p{
  font-size: .95rem;
  margin-bottom: 16px;
}

.project-status{
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(9,154,205,.35);
  color: var(--brand-500);
}

/* =========================
   Footer
   ========================= */
.site-footer{
  border-top: 1px solid rgba(9,154,205,.25);
  background: rgba(6,16,24,.85);
  margin-top: 72px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer-logo{
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img{
  height: 28px;
  width: auto;
}

.footer-logo span{
  font-weight: 600;
  letter-spacing: .16em;
  font-size: .9rem;
}

.footer-note{
  margin-top: 14px;
  font-size: .9rem;
  color: var(--text-300);
  max-width: 42ch;
}

.footer-meta{
  font-size: .85rem;
  color: var(--text-500);
  line-height: 1.6;
}

.footer-contact span{
  color: var(--text-300);
}

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

  .hero-actions{
    justify-content: center;
  }

  .nav-links{
    gap: 18px;
  }

  .footer-grid{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo{
    justify-content: center;
  }

  .footer-note{
    margin-left: auto;
    margin-right: auto;
  }
}
