:root {
  --bg: #121829; /* Deep navy */
  --surface: #1b2135; /* Card/nav background */
  --muted: #949daf; /* Muted text */
  --text: #ffffff; /* Foreground text */
  --special: #d1bdff; /* Special Color */
  --customshadow: #545454; /* Custom shadow Color */
  --primary: #a78bfa; /* Lavender primary */
  --radius: 16px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 30px rgba(22, 25, 45, 0.55);
  --hairline: rgba(255, 255, 255, 0.06);
}

/*Adding Additional Fonts*/
@font-face {
  font-family: "spacegrotesk";
  src: url("src/fonts/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "interitalic";
  src: url("src/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: italic;
}


@font-face {
  font-family: "inter";
  src: url("src/fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
}






/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 98vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: var(--primary);
  color: #0f1020;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(18, 24, 41, 0.85), rgba(18, 24, 41, 0.65));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: .2px;
}

.logo {
  color: var(--primary);
  display: inline-flex;
}

.brand-name {
  font-family: spacegrotesk;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
      border-block-color: #949dbf;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}
.nav-link:hover {
  transform: scale(1.1);
  color: var(--special);
  text-shadow: 0 0 8px #b39dfb, 0 0 16px #b39dfb;
  
}
.nav-link.active {
  color: var(--special);
}







.hero {
  display: flex;
  justify-content: center;    /* centers horizontally */
  align-items: center;        /* centers vertically */
  text-align: center;            /* full screen height */
  padding-top: 0;
}

.hero-grid {
  display: flex;              /* keep flex always — avoid switching to grid */
  flex-direction: column;     /* stack content vertically */
  align-items: center;        /* center horizontally */
  justify-content: center;    /* center vertically */
  gap: 28px;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;    /* stack h1 and p vertically */
  align-items: center;       /* center them inside */
  justify-content: center;   /* optional — centers vertically within the div */
  max-width: 650px;
}

.headline {
  font-family: spacegrotesk;
  font-size: clamp(28px, 3vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 15px;
}

.subtext {
  font-family: interitalic;
  color: var(--muted);
  font-size: 12px;
  max-width: 560px;
  margin: 0 0 30px;
  text-align: center;
}

.hero-img {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: #121829;
    box-shadow: 0 0 80px 10px var(--primary);
    height: 37.5%;
    width: 62.5%;
    margin: 0 auto;
    transform: scale(0.85);
    transform-origin: center center;
    size: auto;
}




.feature-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:28px;
}

.feature-box{
  background:linear-gradient(145deg,#161d31,#1e2740);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:18px;
  padding:22px;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  text-align:center;
  transition:0.3s ease;
  box-shadow:0 8px 24px rgba(0,0,0,0.25);

  min-height:180px;
}

.feature-box:hover{
  transform:translateY(-5px);
  border-color:#4f8cff;
  box-shadow:0 12px 28px rgba(79,140,255,0.25);
}

.feature-box:hover img{
  transform:scale(1.08);
  transition:0.3s ease;
}

.feature-box img{
  width:80px;
  height:80px;
  object-fit:contain;
  margin-bottom:14px;
  opacity:0.95;
}

.feature-box h4{
  color:white;
  font-size:1rem;
  font-weight:600;
}


.architecture-section{
  margin-top:45px;
  text-align:center;
}

.architecture-section img{
  width:100%;
  max-width:950px;
}


.architecture-text{
  margin-top:28px;
  text-align:center;
}

.architecture-text p{
  color:#b8c2d6;
  font-size:1.02rem;
  line-height:1.8;
  max-width:850px;
  margin:auto;
}


/* Footer */
.site-footer {
  padding: 100px 0 8px;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  gap: 0;
    padding-top: 10px;
    padding-bottom: 5px;
  place-items: bottom;
  text-align: center;
  font-size: 13px;
}
