/* ═══════════════════════════════════════════════════════════════════════════
   ForgeOps Homepage — Specific Styles
   Inherits from styles.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   Site Header / Navigation
   ───────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-lg) 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-base);
}

.site-logo:hover {
  color: var(--color-accent);
}

.site-logo__icon {
  font-size: 1.25rem;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-nav__link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.site-nav__link:hover {
  color: var(--color-accent);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Home Hero
   ───────────────────────────────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-4xl) + 60px) 0 var(--space-4xl);
  overflow: hidden;
}

.home-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--color-border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 20%, black 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 20%, black 10%, transparent 60%);
}

.home-hero__content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.home-hero__tagline {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease forwards;
}

.home-hero__headline {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.home-hero__headline-accent {
  color: var(--color-accent);
}

.home-hero__subheadline {
  font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.home-hero__cta-group {
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   What We Do Section
   ───────────────────────────────────────────────────────────────────────────── */
.what-we-do {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.what-we-do__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .what-we-do__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.what-we-do__item {
  text-align: center;
  padding: var(--space-lg);
}

.what-we-do__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  color: var(--color-accent);
}

.what-we-do__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.what-we-do__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Products Section
   ───────────────────────────────────────────────────────────────────────────── */
.products {
  padding: var(--space-4xl) 0;
}

.products__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.product-card--featured {
  border-color: var(--color-accent-dim);
}

.product-card--featured:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.1);
}

.product-card--coming-soon {
  opacity: 0.7;
}

.product-card__badge {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.product-card__badge--muted {
  background: var(--color-border);
  color: var(--color-text-muted);
}

.product-card__content {
  padding: var(--space-xl);
  padding-top: calc(var(--space-xl) + var(--space-lg));
  flex: 1;
}

.product-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.product-card__subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.product-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.product-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-card__features li {
  font-size: 0.875rem;
  color: var(--color-text);
  padding-left: var(--space-lg);
  position: relative;
}

.product-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.product-card__features--muted li {
  color: var(--color-text-muted);
}

.product-card__features--muted li::before {
  color: var(--color-text-subtle);
}

.product-card__footer {
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.product-card__price-amount {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

.product-card__price-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.product-card__price--muted .product-card__price-amount {
  color: var(--color-text-subtle);
  font-size: 1.25rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Philosophy Section
   ───────────────────────────────────────────────────────────────────────────── */
.philosophy {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.philosophy__content {
  max-width: 640px;
}

.philosophy__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.philosophy__text p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Footer (Homepage specific)
   ───────────────────────────────────────────────────────────────────────────── */
.footer__inner {
  display: grid;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr auto auto;
    gap: var(--space-4xl);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.site-logo--footer {
  font-size: 1rem;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.footer__links {
  display: flex;
  gap: var(--space-3xl);
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__column-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  text-align: center;
}

.footer__legal {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}
