/*
Theme Name: Techosmic Alturion
Theme URI: https://example.com/
Author: OpenAI
Description: Futuristic WordPress theme for Techosmic and Alturion.
Version: 1.0
License: GPLv2 or later
Text Domain: techosmic-alturion
*/

:root {
  --bg: #040814;
  --bg-2: #071122;
  --panel: rgba(10, 20, 38, 0.72);
  --panel-2: rgba(12, 25, 48, 0.92);
  --text: #f4f8ff;
  --muted: #9fb3d6;
  --line: rgba(120, 177, 255, 0.18);
  --primary: #6cc8ff;
  --primary-2: #4a8cff;
  --glow: 0 0 30px rgba(76, 156, 255, 0.35);
  --radius: 24px;
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 118, 255, 0.18), transparent 20%),
    radial-gradient(circle at 80% 0%, rgba(95, 216, 255, 0.12), transparent 18%),
    radial-gradient(circle at 50% 40%, rgba(36, 80, 160, 0.12), transparent 28%),
    linear-gradient(180deg, #02050c 0%, #050c18 35%, #040814 100%);
  min-height: 100vh;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at center, rgba(255,255,255,0.55) 0 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255,255,255,0.3) 0 1px, transparent 1px);
  background-size: 220px 220px, 140px 140px;
  background-position: 0 0, 60px 80px;
  opacity: 0.08;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, .button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 24px;
  border: 1px solid rgba(104, 181, 255, 0.35);
  color: #fff;
  background: linear-gradient(180deg, rgba(34, 88, 180, 0.28), rgba(19, 40, 88, 0.5));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), var(--glow);
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
button:hover, .button:hover, .wp-block-button__link:hover {
  transform: translateY(-2px);
  border-color: rgba(144, 211, 255, 0.8);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28), 0 0 40px rgba(90, 175, 255, 0.4);
}

.site-shell {
  max-width: var(--content);
  margin: 0 auto;
  padding: 22px 24px 80px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(2, 6, 14, 0.92), rgba(2, 6, 14, 0.6));
  border-bottom: 1px solid rgba(104, 181, 255, 0.12);
}
.site-header__row {
  max-width: var(--content);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #7ce8ff, #296bff 60%, #091734 100%);
  box-shadow: 0 0 24px rgba(83, 175, 255, 0.45);
  position: relative;
}
.brand-mark:before, .brand-mark:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  inset: 10px 12px;
  border: 2px solid rgba(255,255,255,.85);
}
.brand-mark:after { inset: 15px 7px; opacity: .55; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.main-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: .2s ease;
}
.main-nav a:hover, .main-nav .current-menu-item > a {
  color: #fff;
  background: rgba(76, 140, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(114, 192, 255, 0.16);
}

.page-wrap { padding-top: 26px; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  min-height: 72vh;
}
.hero__copy,
.panel,
.feature-card,
.section-card,
.media-frame,
.spec-card,
.product-card,
.info-card {
  background: linear-gradient(180deg, rgba(11, 20, 38, 0.78), rgba(7, 14, 29, 0.92));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 24px 60px rgba(0,0,0,.28);
}
.hero__copy {
  padding: 36px;
  border-radius: calc(var(--radius) + 8px);
}
.kicker {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .9rem;
}
.hero h1, .page-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .95;
  margin: 14px 0 12px;
  letter-spacing: -.04em;
}
.subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  color: #dce8ff;
  margin: 0 0 18px;
}
.lead, .section-copy {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__visual {
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 50%, rgba(32, 104, 255, 0.25), rgba(5, 10, 20, 0.88) 55%), #06101d;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 30px 70px rgba(0,0,0,.4);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}
.hero__visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(94, 184, 255, 0.25), transparent 28%);
  pointer-events: none;
}
.ring-decor {
  position: absolute;
  inset: auto 6% 9% 6%;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(114, 205, 255, 0.15);
  box-shadow: 0 0 44px rgba(61, 140, 255, 0.18);
}
.ring-decor:before, .ring-decor:after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(114, 205, 255, 0.12);
}
.ring-decor:after { inset: 36px; }

.section {
  margin-top: 42px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 8px;
}
.grid-4, .grid-3, .grid-2 {
  display: grid;
  gap: 18px;
}
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.product-card,
.feature-card,
.info-card,
.spec-card,
.section-card {
  border-radius: 24px;
  overflow: hidden;
}
.product-card img,
.feature-card img,
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #07111f;
}
.product-card__body,
.feature-card__body,
.info-card__body,
.spec-card__body,
.section-card__body {
  padding: 22px;
}
.card-title {
  font-size: 1.35rem;
  margin: 0 0 8px;
}
.card-copy { color: var(--muted); line-height: 1.7; }
.mini-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 16px;
  color: #d9e7ff;
}
.checks span::before {
  content: "•";
  color: var(--primary);
  margin-right: 8px;
}

.page-hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
}
.page-hero__content, .page-hero__media {
  border-radius: 28px;
  overflow: hidden;
}
.page-hero__content { padding: 34px; }
.page-hero__media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(7, 18, 36, 0.8);
  border: 1px solid rgba(108, 200, 255, 0.15);
}
.metric strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.metric span { color: var(--muted); font-size: .95rem; }

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 26px;
  margin-top: 34px;
  background: linear-gradient(90deg, rgba(12, 28, 55, 0.95), rgba(9, 18, 34, 0.9));
  border: 1px solid rgba(108, 200, 255, 0.18);
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid rgba(120,177,255,0.12);
  background: rgba(2, 6, 14, 0.65);
}
.site-footer__row {
  max-width: var(--content);
  margin: 0 auto;
  padding: 28px 24px 52px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
}
.footer-links a:hover { background: rgba(76, 140, 255, 0.08); color: #fff; }
.small { color: var(--muted); font-size: .95rem; line-height: 1.7; }

@media (max-width: 1100px) {
  .hero, .page-hero, .feature-row, .site-footer__row { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .site-header__row { flex-direction: column; align-items: stretch; }
  .main-nav ul { justify-content: center; }
  .site-shell { padding: 18px 16px 70px; }
  .hero__copy, .page-hero__content { padding: 24px; }
  .hero__visual { min-height: 420px; }
  .grid-4, .grid-3, .grid-2, .checks, .metrics { grid-template-columns: 1fr; }
  .cta-band, .section-header { flex-direction: column; align-items: flex-start; }
}
