:root {
  --bg-color: #05050a;
  --text-main: #f0f4f8;
  --text-muted: #a0aec0;
  --accent-1: #00f0ff;
  --accent-2: #7000ff;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Animated Background */
.bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 12s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
}

.blob-2 {
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 10%) scale(1.1); }
}

/* Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 5, 10, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  transition: padding 0.3s ease;
}

header.scrolled {
  padding: 1rem 5%;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: none;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.05rem;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent-1);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--accent-1);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  margin-top: 2rem;
}

.badge-top {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  color: var(--accent-1);
  backdrop-filter: blur(10px);
  animation: fadeUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  animation: fadeUp 1s ease-out 0.2s both;
}

.text-gradient {
  background: linear-gradient(to bottom right, #ffffff 0%, #8a9bb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 3rem;
  animation: fadeUp 1s ease-out 0.4s both;
}

.cta-button {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(45deg, var(--accent-2), var(--accent-1));
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
  animation: fadeUp 1s ease-out 0.6s both;
  display: inline-block;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.4);
}

.cta-button:hover::before {
  opacity: 1;
}

/* Showcase Section */
.showcase {
  padding: 8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 4rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: -1px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  group: hover;
  text-decoration: none;
  display: block;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(112, 0, 255, 0.15);
  border-color: rgba(255,255,255,0.2);
}

.card-img-wrapper {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.8rem;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover .card-img {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.card-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #fff;
}

.card-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 1rem;
  background: rgba(5, 5, 10, 0.8);
  position: relative;
  overflow: hidden;
}

footer p {
  margin-bottom: 1rem;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
}

/* Content Page specifics */
.content-section {
  padding: 8rem 5% 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-section p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.8;
}

.content-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  margin: 3rem 0 1.5rem;
  color: #fff;
}

.content-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  font-size: 1.15rem;
}

.content-section li {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.external-link-card {
  display: block;
  background: var(--glass-bg);
  border: 1px solid var(--accent-1);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.external-link-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-2));
}

.external-link-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
}

.external-link-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.external-link-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  nav { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card-img-wrapper { height: 250px; }
}
