:root {
  --bg-color: #182e18;
  --surface-color: rgba(59, 83, 59, 0.8);
  --border-color: rgba(255, 255, 255, 0.1);
  --accent-primary: #b4dc32;
  --accent-secondary: #eafc65;
  --text-main: #fdfdf5;
  --text-muted: #a8b8a8;
  --glass-bg: rgba(24, 46, 24, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-family: 'Outfit', sans-serif;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(180, 220, 50, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(234, 252, 101, 0.05), transparent 25%);
  background-attachment: fixed;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) ease;
}

/* Glassmorphism Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: padding var(--transition-speed) ease;
}

.navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(24, 46, 24, 0.9);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-speed) ease;
  box-shadow: 0 0 8px var(--accent-primary);
}

.nav-links a:hover::after,
.nav-links a.active::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;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 220, 50, 0.15) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(180, 220, 50, 0.2);
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #a0a5b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(180, 220, 50, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(180, 220, 50, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);  
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(234, 252, 101, 0.3);
}

/* Shared Section Styles */
.section {
  padding: 6rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-primary);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

/* Card Styles */
.card {
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(180, 220, 50, 0.6);
  border-color: rgba(180, 220, 50, 0.8);
}

.card-video-wrapper,
.card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.card-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(180, 220, 50, 0.5);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .play-icon {
  transform: scale(1);
}

.play-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 4px; /* Optical optical alignment */
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.card:hover .card-link svg {
  transform: translateX(5px);
}

/* Download Specific Overrides */
.download-card {
  flex-direction: row;
  align-items: center;
  padding: 1.5rem;
}

.download-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin-right: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
}

.download-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-content {
  flex-grow: 1;
}

.download-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.download-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  gap: 1rem;
}

.download-btn {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.download-card:hover .download-btn {
  background: var(--accent-primary);
  color: #000;
  box-shadow: 0 0 15px var(--accent-primary);
  transform: translateY(0); /* Override card hover */
}

.download-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Footer */
footer {
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  background: rgba(24, 46, 24, 0.95);
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.animate {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none; /* simple hidden nav for mobile, could add hamburger */
  }
  
  .download-card {
    flex-direction: column;
    text-align: center;
  }
  
  .download-icon-wrapper {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .download-btn {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    border-radius: 8px;
    height: 40px;
  }
}
