/* Global Styles */
:root {
  --bg-color: #000000;
  --text-color: #ffffff;
  --accent-color: #3b82f6; /* Tech blue */
  --secondary-bg: #111111;
  --border-color: #333333;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --spacing-unit: 1rem;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Header / Nav */
/* Removed styling that is now handled by web component */

/* Main Content */
main {
  padding: 0 2rem 4rem; /* Adjusted padding */
  max-width: 1200px;
  margin: 0 auto;
  min-height: 80vh;
}

.hero {
  text-align: center;
  padding: 10rem 0 6rem; /* Increased top padding for better visual balance */
  position: relative;
  min-height: 60vh; /* Ensure hero takes up significant screen space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 4.5rem; /* Slightly larger */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.35rem; /* Slightly larger */
  color: #888;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.5;
}

.scroll-indicator span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  animation: scroll 2s infinite;
}

.scroll-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scroll {
  0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider cards */
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  padding: 2.5rem; /* More breathing room */
  border-radius: 12px; /* Softer corners */
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle glow effect on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border-color: #444;
}

.feature-card:hover::before {
  opacity: 0.5;
}

.feature-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #fff;
}

.feature-card p {
  color: #999;
  font-size: 1rem;
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
    /* Kept for bottom CTA if needed, or can be adjusted */
    text-align: center;
    padding: 8rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero {
    padding: 6rem 0;
    min-height: auto;
  }

  .scroll-indicator {
    display: none; /* Hide on mobile if space is tight */
  }
}