/* Brand palette derived from logo */
:root {
  --navy-900: #0e1420; /* deep background */
  --navy-800: #131a27;
  --blue-700: #1f6dd3; /* saturated blue */
  --blue-600: #2a86e8; /* electric blue */
  --blue-500: #2bb3ff; /* azure accents */
  --cyan-400: #2de2e6; /* cyan highlights */
  --slate-500: #6e7d8e; /* tech slate */
  --gray-200: #a9c7e8; /* cool gray-blue for subtler contrast */
  --white-100: #cfe6ff; /* bluish off-white for dark theme */

  --radius: 14px;
  --maxw: 1160px;

  --font-head: "Exo 2", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white-100);
  /* Ensure full-page dark theme: gradient overlay + solid base */
  background: radial-gradient(100% 60% at 20% 10%, #0f1b2f 0%, var(--navy-900) 55%) no-repeat, var(--navy-900);
  background-attachment: fixed;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section-title { font-family: var(--font-head); font-weight: 700; font-size: 28px; letter-spacing: 0.4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(19, 26, 39, 0.7); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(107, 140, 170, 0.12); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white-100); }
.brand-logo { height: 48px; width: auto; display: inline-block; filter: drop-shadow(0 4px 12px rgba(43,179,255,0.25)); }
.brand-mark { width: 32px; height: 32px; position: relative; display: inline-block; background: conic-gradient(from 210deg, var(--blue-600), var(--cyan-400), var(--blue-700)); clip-path: polygon(10% 0, 100% 20%, 90% 100%, 0 80%); box-shadow: 0 6px 20px rgba(43, 179, 255, 0.25); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: 0.6px; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { color: var(--white-100); text-decoration: none; font-weight: 500; }
.primary-nav a:hover { color: var(--gray-200); }
.primary-nav .cta { padding: 10px 16px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-700), var(--cyan-400)); color: #09121f; font-weight: 600; box-shadow: 0 8px 24px rgba(45, 226, 230, 0.2); }
.primary-nav .cta:hover { filter: brightness(1.05); }

/* Hero */
.hero { position: relative; min-height: 62vh; display: grid; place-items: center; overflow: hidden; }
.hero-content { position: relative; text-align: center; padding: 96px 0 72px; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4.8vw, 56px); margin: 0 0 14px; letter-spacing: 0.5px; }
.hero .subtitle { color: var(--gray-200); font-size: clamp(16px, 2.2vw, 20px); max-width: 760px; margin: 0 auto; }

/* Abstract hero visualization: three streams converging */
.hero-bg { position: absolute; inset: 0; background: url("assets/hero-bg.svg") center/cover no-repeat; opacity: 0.55; mix-blend-mode: screen; }

/* Services */
.services { padding: 54px 0 30px; }
.cards { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; padding: 22px 22px 26px; background: linear-gradient(180deg, rgba(23,34,51,0.75), rgba(16,24,38,0.8)); border: 1px solid rgba(108, 140, 170, 0.16); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(12,20,33,0.55); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: linear-gradient(135deg, rgba(43,179,255,0.12), rgba(45,226,230,0.08)); opacity: 0.6; pointer-events: none; }
.card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; background: conic-gradient(from 200deg, rgba(43,179,255,0.15), rgba(45,226,230,0.12), rgba(31,109,211,0.18)); clip-path: polygon(15% 0, 100% 25%, 85% 100%, 0 80%); filter: blur(12px); }
.icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 12px; }
.card h3 { font-family: var(--font-head); font-weight: 700; margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--gray-200); line-height: 1.55; }
.card:hover { border-color: rgba(43, 179, 255, 0.32); box-shadow: 0 16px 36px rgba(18, 30, 51, 0.65); }

/* Cores banner */
.cores { padding: 18px 0 48px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pillar { padding: 12px 16px; text-align: center; border: 1px dashed rgba(43,179,255,0.35); color: var(--gray-200); border-radius: 10px; }

/* Portfolio placeholder */
.portfolio { padding: 6px 0 54px; }
.coming-soon { text-align: center; color: var(--slate-500); }

/* Footer */
.site-footer { border-top: 1px solid rgba(107, 140, 170, 0.12); padding: 28px 0; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-content .cta { color: #09121f; background: linear-gradient(135deg, var(--blue-700), var(--cyan-400)); text-decoration: none; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.footer-content .cta:hover { filter: brightness(1.05); }
.footer-content small { color: var(--slate-500); }

/* Responsive */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
}
