@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-primary: #090c14;
  --bg-secondary: #111827;
  --bg-card: #161e2e;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-cyan: hsl(126, 85%, 55%);
  --accent-purple: #a855f7;
  --border-color: rgba(255, 255, 255, 0.07);
  --radius: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.8rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem); }

p {
  font-size: clamp(1rem, 1vw + 0.25rem, 1.125rem);
  color: var(--text-secondary);
  max-width: 65ch;
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}
a:hover { color: var(--accent-purple); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.section-wrapper {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--border-color);
}

.section-heading {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 2px;
}

.lead-paragraph {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 80ch;
  line-height: 1.7;
}

.body-text { color: var(--text-secondary); margin-bottom: 1rem; }

.hero {
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  background: radial-gradient(circle at 75% 15%, rgba(168, 85, 247, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 25% 85%, rgba(0, 242, 234, 0.08) 0%, transparent 50%),
              var(--bg-primary);
  position: relative;
}
.hero-title {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 25%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}
.primary-button {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #090c14;
  box-shadow: 0 4px 20px rgba(0, 242, 234, 0.25);
}
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.35);
}
.secondary-button {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(6px);
}
.secondary-button:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 234, 0.05);
  color: var(--accent-cyan);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: var(--shadow);
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.brand span { color: var(--accent-cyan); }
.contact-pill {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  padding: 0.45rem 0.9rem;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s;
}
.contact-pill:hover { border-color: var(--accent-cyan); }
.contact-pill a { color: var(--text-secondary); }
.contact-pill a:hover { color: var(--accent-cyan); }
.status-dot {
  width: 8px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent-cyan);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.9rem; max-width: 30ch; }
.footer-col h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-cyan); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  max-width: 100%;
}

@media (max-width: 768px) {
  .nav-wrapper { flex-direction: column; align-items: flex-start; }
  .nav-links { width: 100%; flex-direction: column; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid var(--border-color); }
  .contact-pill { display: none; }
  .hero { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .section-heading::after { left: 50%; transform: translateX(-50%); }
  .section-heading { display: block; text-align: center; }
  .lead-paragraph { text-align: center; margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
