/* ==========================================================================
   TSCHOLENE DEV — Site-Specific Styles
   Storefront landing page for dev.tscholene.com
   Extends base.css design tokens and components.
   ========================================================================== */

/* ==========================================================================
   1. Hero Overrides
   ========================================================================== */

.hero {
  min-height: 60dvh;
  padding-bottom: var(--space-12);
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  max-width: 700px;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
}

/* ==========================================================================
   2. Products Section
   ========================================================================== */

.products {
  padding-top: 0;
  padding-bottom: var(--space-24);
}

.products__grid {
  --cols: 2;
  gap: var(--space-8);
  max-width: 960px;
  margin: 0 auto;
}

/* ==========================================================================
   3. Product Card
   ========================================================================== */

.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.08),
              0 8px 32px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   3.1 Product Card — Image Area / Placeholder
   -------------------------------------------------------------------------- */

.product-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Docklane placeholder gradient — cool blue/teal (file transfer / tech) */
.product-card__placeholder--docklane {
  background: linear-gradient(135deg, #1a2744 0%, #1B1B30 40%, #163832 100%);
}

/* Appointly placeholder gradient — warm purple/rose (booking / people) */
.product-card__placeholder--appointly {
  background: linear-gradient(135deg, #2d1a44 0%, #1B1B30 40%, #381632 100%);
}

.product-card__placeholder svg {
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.product-card:hover .product-card__placeholder svg {
  opacity: 0.7;
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   3.2 Product Card — Content
   -------------------------------------------------------------------------- */

.product-card__content {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-card__tagline {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.01em;
}

.product-card__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 50ch;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3.3 Product Card — CTA Link
   -------------------------------------------------------------------------- */

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--space-3);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.product-card__cta:hover {
  color: var(--accent);
  text-decoration: none;
  gap: var(--space-3);
}

.product-card__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ==========================================================================
   4. Footer Overrides
   ========================================================================== */

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.footer__separator {
  color: var(--text-muted);
}

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

/* ==========================================================================
   5. Responsive — Mobile
   ========================================================================== */

@media (max-width: 768px) {
  .hero {
    min-height: 50dvh;
  }

  .products__grid {
    --cols: 1;
    gap: var(--space-6);
  }

  .product-card__content {
    padding: var(--space-6);
  }

  .product-card__name {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   6. Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .product-card:hover .product-card__placeholder svg {
    transform: none;
  }

  .product-card__cta:hover {
    gap: var(--space-2);
  }
}
