/* ============================================================
   kygeek studio, LLC — Dracula Theme Stylesheet
   ============================================================ */

/* --- Dracula Palette Custom Properties --- */
:root {
  --bg:          #282a36;
  --bg-lighter:  #343746;
  --bg-card:     #2e303e;
  --current:     #44475a;
  --fg:          #f8f8f2;
  --fg-muted:    #b0b0b0;
  --comment:     #6272a4;
  --purple:      #bd93f9;
  --pink:        #ff79c6;
  --green:       #50fa7b;
  --cyan:        #8be9fd;
  --orange:      #ffb86c;
  --red:         #ff5555;
  --yellow:      #f1fa8c;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

code, pre, .mono {
  font-family: 'Fira Code', 'Courier New', monospace;
}

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pink);
  text-decoration: underline;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
}

/* --- Navigation --- */
.site-nav {
  border-bottom: 1px solid var(--current);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background-color: var(--bg);
  z-index: 100;
}

.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav__brand {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.site-nav__brand:hover {
  color: var(--fg);
  text-decoration: none;
}

.site-nav__brand .accent-purple {
  color: var(--purple);
}

.site-nav__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.site-nav__links a {
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav__links a:hover {
  color: var(--purple);
  text-decoration: none;
}

/* --- Hero --- */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.hero__title .accent-purple {
  color: var(--purple);
}

.hero__title .accent-pink {
  color: var(--pink);
  font-family: 'Fira Code', monospace;
  font-size: 0.5em;
  vertical-align: middle;
  margin-left: 0.25em;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.hero__location {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--comment);
}

/* --- Section Common --- */
.section {
  padding: 3rem 0;
}

.section__title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--fg);
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--purple);
  margin-top: 0.4rem;
  border-radius: 2px;
}

/* --- Project Cards --- */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--current);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: block;
}

.project-card--link {
  text-decoration: none;
  color: inherit;
}

.project-card--link:hover {
  text-decoration: none;
}

.project-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.project-card__name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.project-card__desc {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.project-card__status {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot--live {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.status-dot--dev {
  background: var(--orange);
  box-shadow: 0 0 6px var(--orange);
}

.status-label--live {
  color: var(--green);
}

.status-label--dev {
  color: var(--orange);
}

/* --- About / Mission --- */
.about__text {
  color: var(--fg-muted);
  font-size: 0.95rem;
  max-width: 640px;
  line-height: 1.75;
}

/* --- Support --- */
.support-block {
  background: var(--bg-card);
  border: 1px solid var(--current);
  border-radius: 8px;
  padding: 2rem;
  max-width: 480px;
}

.support-block__email {
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem;
  color: var(--cyan);
  display: inline-block;
  margin-top: 0.75rem;
}

.support-block__email:hover {
  color: var(--pink);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--current);
  padding: 2rem 0;
  text-align: center;
}

.site-footer__copy {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--comment);
}

.site-footer__links {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}

.site-footer__links a {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.site-footer__links a:hover {
  color: var(--purple);
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal {
  padding: 3rem 0;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal__updated {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--comment);
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  color: var(--purple);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p,
.legal ul {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.legal ul {
  padding-left: 1.5rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal a {
  color: var(--cyan);
}

.legal a:hover {
  color: var(--pink);
}

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid var(--current);
  margin: 0;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Driftdown Product Page Styles
   ============================================================ */

/* --- Product Hero --- */
.hero--product {
  padding: 4rem 0 3rem;
}

.hero__meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background-color: var(--bg-card);
  border: 1px solid var(--current);
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.status-badge--dev {
  border-color: var(--orange);
  color: var(--orange);
}

.platform-badge {
  padding: 0.4rem 0.8rem;
  background-color: var(--bg-card);
  border: 1px solid var(--purple);
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--purple);
}

/* --- Content Block --- */
.content-block {
  max-width: 720px;
}

.content-block p {
  color: var(--fg-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.content-block--centered {
  text-align: center;
  margin: 0 auto;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--current);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.feature-card__title {
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-card__desc {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-card__desc code {
  background-color: var(--bg-lighter);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.85rem;
}

/* --- Tech Stack --- */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-item {
  background-color: var(--bg-card);
  border-left: 3px solid var(--purple);
  padding: 1.25rem;
  border-radius: 4px;
}

.tech-item__name {
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.tech-item__desc {
  color: var(--fg-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.tech-item__desc code {
  background-color: var(--bg-lighter);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.8rem;
  color: var(--green);
}

/* --- Pricing Grid --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--current);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
}

.pricing-card--premium {
  border-color: var(--purple);
  border-width: 2px;
  position: relative;
}

.pricing-card--premium::before {
  content: "POPULAR";
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--purple);
  color: var(--bg);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 500;
}

.pricing-card__tier {
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.pricing-card__period {
  font-size: 1rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 1rem;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  color: var(--fg-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--current);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: bold;
  margin-right: 0.5rem;
}

.pricing-card__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--comment);
  font-style: italic;
}

/* --- Availability Status --- */
.availability-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.availability-text {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.availability-contact {
  color: var(--fg-muted);
  font-size: 1rem;
}

.availability-contact a {
  color: var(--purple);
  font-weight: 500;
}
