/*
Theme Name: Atheniks Pilot
Theme URI: https://atheniks.com
Author: Atheniks
Author URI: https://atheniks.com
Description: Minimal block theme for the Atheniks WordPress pilot.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: atheniks-pilot
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Outfit', 'Segoe UI Variable Text', 'Segoe UI', sans-serif;
  --atheniks-navy: #0f1729;
  --atheniks-blue: #2563eb;
  --atheniks-mint: #00c4a7;
  --atheniks-surface: #f7f9fc;
  --color-text: #0f1729;
  --color-muted: #5a6688;
  --color-surface-soft: #f6f7fb;
  --color-border: rgba(26, 45, 107, 0.12);
  --color-border-strong: rgba(26, 45, 107, 0.2);
  --color-primary: #00c4a7;
  --color-ring: rgba(0, 196, 167, 0.22);
  --shadow-soft: 0 4px 16px rgba(15, 23, 41, 0.06), 0 1px 3px rgba(15, 23, 41, 0.04);
  --shadow-raise: 0 16px 48px rgba(15, 23, 41, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans), sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--atheniks-surface) 100%);
  color: var(--color-text);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
  background-color: #fafbfd;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(0, 196, 167, 0.06), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(37, 99, 235, 0.06), transparent 28%),
    radial-gradient(circle at 52% 100%, rgba(255, 255, 255, 0.92), transparent 62%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
    linear-gradient(35deg, rgba(255, 255, 255, 0.3) 0%, transparent 48%);
}

.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wp-site-blocks a {
  text-decoration: none;
}

.wp-block-post-content a,
.wp-block-query a {
  color: var(--atheniks-blue);
}

.atheniks-page-main {
  flex: 1 0 auto;
  padding-top: 108px;
  width: 100%;
}

.atheniks-header-shell {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px);
}

.atheniks-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.atheniks-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.atheniks-brand-mark:hover {
  opacity: 0.85;
}

.atheniks-brand-icon {
  display: block;
  width: auto;
  height: 1.25rem;
  flex-shrink: 0;
}

.atheniks-brand-wordmark {
  display: block;
  transform: translateY(0.1875rem);
  color: #0f1729;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.atheniks-header-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.atheniks-header-spacer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.atheniks-products-menu {
  position: relative;
}

.atheniks-nav-button,
.atheniks-products-button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  color: var(--color-text);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.atheniks-nav-button:hover,
.atheniks-products-button:hover,
.atheniks-products-menu:hover .atheniks-products-button {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-primary);
}

.atheniks-nav-button:focus-visible,
.atheniks-products-button:focus-visible,
.atheniks-demo-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-ring);
}

.atheniks-chevron-icon {
  width: 1rem;
  height: 1rem;
}

.atheniks-products-panel {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 18rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 24px 54px rgba(17, 33, 58, 0.16);
  backdrop-filter: blur(24px);
  transition: opacity 150ms ease;
}

.atheniks-products-menu:hover .atheniks-products-panel {
  opacity: 1;
  pointer-events: auto;
}

.atheniks-product-link {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.atheniks-product-link:hover {
  background: var(--color-surface-soft);
}

.atheniks-product-name {
  display: block;
  color: var(--color-text);
  font-weight: 600;
}

.atheniks-product-description {
  display: block;
  margin-top: 0.125rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.atheniks-demo-button {
  display: inline-flex;
  align-items: center;
  border-radius: 0.75rem;
  background: var(--color-primary);
  padding: 0.5rem 1.25rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    background-color 180ms ease;
}

.atheniks-demo-button:hover {
  box-shadow: var(--shadow-raise);
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.atheniks-demo-button:active {
  transform: scale(0.97);
}

.atheniks-footer-shell {
  border-top: 1px solid var(--color-border);
  background: linear-gradient(to bottom, #f6f9ff, #edf3fb);
  color: var(--color-muted);
  margin-top: auto;
}

.atheniks-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.atheniks-footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.atheniks-footer-brand-block {
  max-width: 32rem;
}

.atheniks-footer-brand {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 700;
}

.atheniks-footer-description {
  margin: 0;
  line-height: 1.625;
}

.atheniks-footer-column-title {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-weight: 600;
}

.atheniks-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.atheniks-footer-list li + li {
  margin-top: 0.5rem;
}

.atheniks-footer-shell a,
.atheniks-footer-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.atheniks-footer-shell a:hover,
.atheniks-footer-legal-links a:hover {
  color: var(--color-text);
}

.atheniks-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.atheniks-footer-copy {
  margin: 0;
  font-size: 0.875rem;
}

.atheniks-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .atheniks-header-nav {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .atheniks-header-links {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .atheniks-header-nav,
  .atheniks-footer-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .atheniks-footer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .atheniks-footer-brand-block {
    grid-column: span 2 / span 2;
  }
}

@media (min-width: 640px) {
  .atheniks-footer-bottom {
    flex-direction: row;
  }
}
