/* ============================================================
   AI Photography Tools — Static Page Styles
   Gray azure colour scheme: hsl(201, 29%, ...)
   ============================================================ */

:root {
  --color-bg:          hsl(201, 29%, 92%);
  --color-bg-light:    hsl(201, 29%, 96%);
  --color-bg-dark:     hsl(201, 29%, 88%);
  --color-accent:      hsl(201, 29%, 61%);
  --color-accent-dark: hsl(201, 29%, 40%);
  --color-border:      hsl(201, 29%, 85%);
  --color-border-soft: hsl(201, 29%, 75%);
  --color-text:        hsl(0, 0%, 10%);
  --color-text-muted:  hsl(0, 0%, 40%);
  --color-white:       #ffffff;
  --color-live:        #22c55e;
  --color-soon:        #f59e0b;
  --color-dev:         #9ca3af;
  --radius:            0.5rem;
  --shadow-sm:         0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md:         0 2px 8px rgba(0, 0, 0, 0.10);
  --max-width:         1152px;
  --max-width-text:    640px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: none;
  margin: 0;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.header-logo {
  height: 8rem;
  width: 8rem;
  object-fit: contain;
}

.header-brand-text h1 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.header-brand-text p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.btn:hover { opacity: 0.88; }

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-dark {
  background-color: #111111;
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent-dark);
  border: 1px solid var(--color-border-soft);
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.btn-full { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background-color: var(--color-bg);
  padding: 0;
  text-align: center;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
}

.hero h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 1500;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p.hero-sub {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-banner-wrap {
  width: 100%;
  margin: 0;
}

.hero-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SECTION BASE
   ============================================================ */

section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 900px;
  margin: 0 auto;
}

.section-back {
  text-align: center;
  margin-top: 10cm;
}

/* ============================================================
   GRIDS
   ============================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  object-fit: contain;
}

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

.card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.card-tagline {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
}

.card-features {
  list-style: none;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-features li {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.card-features li::before {
  content: "✓";
  color: var(--color-accent);
  flex-shrink: 0;
  font-weight: 600;
}

.card-cta { margin-top: auto; }

/* Featured card (SpeedData) */
.card-featured {
  border: 1px solid transparent;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
}

.featured-badge {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  display: block;
}

/* Lightweight tool card (stage grid) */
.tool-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.tool-card img {
  width: 100%;
  object-fit: contain;
}

.tool-card-label {
  padding: 0.625rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ============================================================
   STATUS DOTS + TOOLTIPS
   ============================================================ */

.status-wrapper {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
}

.status-dot.live { background-color: var(--color-live); }
.status-dot.soon { background-color: var(--color-soon); }
.status-dot.dev  { background-color: var(--color-dev);  }

.status-tooltip {
  position: absolute;
  bottom: 22px;
  right: 0;
  background: #111;
  color: #fff;
  font-size: 0.6875rem;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.status-wrapper:hover .status-tooltip { opacity: 1; }
.status-wrapper.tooltip-visible .status-tooltip { opacity: 1; }

/* ============================================================
   STAGE BLOCKS (workflow section)
   ============================================================ */

.workflow-section {
  background-color: var(--color-bg);
}

.workflow-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.workflow-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.875rem;
}

.workflow-intro p {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.stage {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-border);
}

.stage:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.stage-header {
  margin-bottom: 1.75rem;
}

.stage-number {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.375rem;
  display: block;
}

.stage-header h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.stage-header p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.65;
}

.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: hsl(201, 29%, 89%);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
}

.stage-status .dot-inline {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stage-status .dot-inline.dev  { background-color: var(--color-dev); }
.stage-status .dot-inline.soon { background-color: var(--color-soon); }
.stage-status .dot-inline.live { background-color: var(--color-live); }

/* ============================================================
   AVAILABLE NOW SECTION
   ============================================================ */

.available-now {
  background-color: var(--color-bg-light);
}

.available-now-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.right-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-coming-next {
  border: 1px solid transparent;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
}

.coming-next-badge {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  display: block;
}

.available-now-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.available-now-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.available-now-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .available-now-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COMING SOON NOTICE
   ============================================================ */

.coming-soon-box {
  background: hsl(201, 29%, 90%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.coming-soon-box p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ============================================================
   3 EYED RAVEN SECTION
   ============================================================ */

.rer-section {
  background-color: var(--color-bg-dark);
  text-align: center;
}

.rer-section h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.rer-section p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

.rer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}

.external-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.external-link:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background-color: var(--color-bg-dark);
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.875rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--color-text); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ============================================================
   UTILITY
   ============================================================ */

.text-center { text-align: center; }

.mt-auto { margin-top: auto; }

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