/* Design tokens */
: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: "customfont";             /* You name it here */
  src: url("src/fonts/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;                     /* optional */
  font-style: normal;                      /* optional */
}



/* 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: customfont;
  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 */
.hero {
  padding: 0 0 0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy {
  max-width: 650px;
}

.headline {
  font-family: customfont;
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.05;
  margin: 6px 0 16px;
  letter-spacing: -.02em;
}

.subtext {
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #121022;
  box-shadow: 0 8px 22px rgba(167, 139, 250, 0.35);
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(167, 139, 250, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e3e8f3;
  border-color: rgba(255, 255, 255, 0.09);
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn-icon {
  display: inline-block;
}

.hero-media {
  display: grid;
  place-items: center;
}

.image-wrap {
  margin: 32px 0 0;
}

.hero-img {
  border-radius: 20px;
  box-shadow: -10px 10px 50px 0 var(--customshadow);
}

/* Divider feel for large sections */
.hero::after,
.how::after {
    padding-top: 10px;
}
.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--hairline);
  width: 100%;
  margin-top: 100px;
}

/* How it Works */
.how {
  padding: 0 0 0;
}

.how-title {
  text-align: center;
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 100px 0 28px;
  text-decoration: underline;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 22px rgba(11, 12, 20, 0.45);
  transition: border-color .2s ease, transform .08s ease;
}
.card:hover {
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateY(-1px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-grid;
  place-items: center;
}

.card-title {
  font-size: 18px;
  margin: 8px 0 6px;
  text-align: center;
}

.card-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

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

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

/* Responsive */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    display: grid;
    align-items: center;
    gap: 32px;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
  }
}

/* Additional Updates */
/* Example: Adding a new button style */
.btn-secondary {
  background: #4a5568; /* Gray background */
  color: #eef2f7; /* Foreground text */
  border-color: #4a5568; /* Gray border */
}
.btn-secondary:hover {
  background: #334155; /* Darker gray background */
  border-color: #334155; /* Darker gray border */
}

/* Example: Updating the site-footer padding */
.site-footer {
  padding: 0 0 10px; /* Increased padding */
  color: var(--muted);
}
