@import url('animations.css');

:root {
  --bg-color: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #86868b;
  --accent-color: #2997FF;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-hero: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --content-max-width: 1024px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-hero);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

/* Video Background */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.4; /* Soften the video slightly so text stays readable */
  pointer-events: none;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, background-color 0.15s ease-out;
  mix-blend-mode: difference;
}

.custom-cursor.hovering {
  transform: translate(-50%, -50%) scale(2.5);
  background-color: var(--accent-color);
  mix-blend-mode: normal;
  opacity: 0.5;
}

/* Layout Utilities */
.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 4.5rem; line-height: 1.1; }
h2 { font-size: 3rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover { opacity: 0.8; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #1a7bd8;
}

.btn-secondary {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .section { padding: 6rem 0; text-align: center; }
  
  .nav-content { flex-direction: column; gap: 1rem; padding: 1rem; }
  .nav-links { display: flex; gap: 1.5rem; justify-content: center; }
  .nav-links a { font-size: 1rem; }

  .custom-cursor { display: none; } /* Hide custom cursor on mobile */
  html, body { cursor: auto; } /* Restore default cursor */
}
