/*
Theme Name: Cybria Theme
Theme URI: https://cybria.net
Author: Cybria Enterprises LLC
Author URI: https://cybria.net
Description: A modern dark-themed landing page for Cybria Enterprises LLC featuring a glassmorphism header, card-based layout, and live clock widget.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cybria-theme
Tags: dark, one-column, custom-menu, featured-images
*/

/* === CSS Variables === */
:root {
  --bg: #0a111d;
  --panel: #0f1928;
  --panel-2: #0c1624;
  --text: #eaf2ff;
  --muted: #9fb6d0;
  --accent: #2bb5ff;
  --accent-2: #00f5a0;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(0, 191, 255, 0.2);
  --shadow: 0 20px 50px rgba(0,0,0,0.55);
  --radius: 16px;
  color-scheme: dark;
}

/* === Reset === */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(0, 245, 160, 0.08), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(43, 181, 255, 0.14), transparent 35%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

/* === Header === */
header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(10, 17, 29, 0.78);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 52px);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #031120;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
}

/* === Navigation === */
.nav-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* WordPress menu support */
.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links li { display: inline-flex; }

.nav-links li a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links li a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* === Clock === */
.clock {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

/* === Main === */
main {
  width: min(1200px, 95vw);
  margin: 36px auto 60px;
  flex: 1;
}

/* === Hero === */
.hero {
  background: linear-gradient(145deg, var(--panel), rgba(15, 25, 40, 0.85));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: clamp(22px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 260px;
  background: radial-gradient(circle at center, var(--glow), transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.lede { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* === Buttons === */
.btn {
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #4dd8ff);
  color: #031120;
  box-shadow: 0 15px 40px rgba(43, 181, 255, 0.35);
}

.btn.primary:hover { transform: translateY(-1px) scale(1.01); }

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.btn.ghost:hover { border-color: rgba(255,255,255,0.2); }

/* === Card Grid === */
.card-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: linear-gradient(165deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 60%;
  background: radial-gradient(circle at top, rgba(43, 181, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.card h3 {
  margin: 6px 0;
  font-size: 1.35rem;
  letter-spacing: -0.2px;
}

.card p { color: var(--muted); line-height: 1.55; }

/* === Pill === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; color: var(--muted); font-weight: 600; }

/* === Footer === */
footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 26px clamp(18px, 4vw, 52px) 40px;
  color: var(--muted);
  background: rgba(10, 17, 29, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.footer-title { color: var(--text); font-weight: 700; margin-bottom: 8px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 640px) {
  .nav { grid-template-columns: 1fr; text-align: center; }
  .clock { text-align: center; }
  .hero { padding: 22px; }
  .hero-actions { justify-content: center; }
}
