:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --text: #111318;
  --muted: #61667a;
  --line: #dfdfd9;
  --primary: #1f6fff;
  --primary-strong: #165ad1;
}

body {
  font-family: "Plus Jakarta Sans", "Avenir Next", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px circle at 18% 78%, rgba(48, 112, 255, 0.15), transparent 70%),
    radial-gradient(380px circle at 74% 24%, rgba(95, 162, 255, 0.16), transparent 72%);
}

/* Navbar Customizations */
.site-header {
  margin-top: 1.2rem;
  transition: all 0.3s ease;
}

.navbar {
  padding: 0.4rem 0;
}

.brand {
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-name {
  letter-spacing: 0.01em;
}

.navbar-nav .nav-link {
  color: #33384b;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 140ms ease;
}

.navbar-nav .nav-link:hover {
  color: #161b2a;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}


/* Button Styles */
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn-primary {
  color: #f5f9ff;
  background: linear-gradient(180deg, #4b97ff, var(--primary-strong));
  box-shadow: 0 4px 12px rgba(31, 111, 255, 0.2);
  border: none;
}

.btn-primary:hover {
  color: #f5f9ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 111, 255, 0.3);
  filter: saturate(1.07);
}

.btn-secondary {
  color: #1f2636;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  font-weight: 500;
}

.btn-secondary:hover {
  color: #1f2636;
  background: #ffffff;
  transform: translateY(-1px);
  border-color: var(--line);
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin: 0 0 1.5rem;
  display: inline-block;
  font-size: 2.5rem;
  color: #454e67;
  font-weight: 500;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.7vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #10141c;
  margin-bottom: 2.1rem;
}

.hero-line-1 {
  display: block;
  white-space: nowrap;
}

.hero-line-2 {
  display: block;
  margin-top: 0.4rem;
}

.typing-cursor::after {
  content: "|";
  animation: blink 1s step-start infinite;
  color: var(--primary);
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-actions .btn {
  min-height: 2.9rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) { 
  .site-header {
    margin-top: 0;
    background: rgba(246, 247, 242, 0.95); /* Match bg color with some transparency */
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
  }

  .navbar-collapse {
    background: var(--bg);
    padding: 1rem;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-top: 1px solid var(--line);
    margin-top: 0.5rem;
  }

  .nav-item {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  .hero-line-1 {
    white-space: normal; /* Allow wrapping on very small screens if needed */
  }
}