/* styles.css – carrot + leaf theme for vxpert.page */

:root {
  --carrot: #ff7a1a;
  --carrot-dark: #e25f00;
  --leaf: #22c55e;
  --bg: #050816;
  --bg-soft: #0b1020;
  --card: #111827;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,122,26,0.20) 0, transparent 40%),
    radial-gradient(circle at bottom right, rgba(34,197,94,0.18) 0, transparent 45%),
    linear-gradient(to bottom, var(--bg) 0, #020617 55%, #020617 100%);
  color: var(--text-main);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header / nav */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5,8,22,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,23,42,0.9);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 2rem;                 /* added spacing between logo and menu */
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.logo-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 20% 20%, #ffffff 0, rgba(255,255,255,0.1) 18%, transparent 40%),
    linear-gradient(135deg, var(--carrot), var(--carrot-dark));
  box-shadow: 0 0 0 2px rgba(255,122,26,0.18);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--leaf);
  top: -3px;
  right: -3px;
  box-shadow: 0 0 0 2px rgba(3,7,18,0.9);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
}

nav a {
  color: var(--text-muted);
  padding-bottom: 0.18rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

nav a:hover,
nav a.active {
  color: var(--text-main);
  border-color: var(--carrot);
}

/* Layout */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.2rem 1.4rem;
}

.section h1,
.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.section p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Hero layout */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.6rem;
  align-items: center;
  padding-top: 3.2rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--leaf);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 2.9rem);
  margin-bottom: 0.55rem;
}

.hero-sub {
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  max-width: 37rem;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  font-size: 0.84rem;
}

.tag {
  border-radius: 999px;
  border: 1px solid #1f2937;
  padding: 0.26rem 0.8rem;
  background: linear-gradient(135deg, rgba(15,23,42,0.96), rgba(15,23,42,0.96));
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tag strong { color: #e5e7eb; }

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--carrot);
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.btn,
.btn-outline {
  border-radius: 999px;
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
              border-color 0.16s ease, color 0.16s ease;
}

.btn {
  background: linear-gradient(135deg, var(--carrot), var(--carrot-dark));
  color: white;
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid #374151;
}

.btn-outline span.icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--leaf);
}

.btn-outline:hover {
  border-color: var(--carrot);
  color: var(--carrot);
}

/* Panel */
.panel {
  background: radial-gradient(circle at top left, rgba(255,122,26,0.25) 0, transparent 55%),
              radial-gradient(circle at bottom right, rgba(34,197,94,0.15) 0, transparent 55%),
              var(--card);
  border-radius: 20px;
  border: 1px solid rgba(31,41,55,0.9);
  padding: 1.4rem 1.45rem;
  font-size: 0.9rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.panel h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.panel p {
  position: relative;
  z-index: 1;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.card {
  background: radial-gradient(circle at top, rgba(15,23,42,0.8) 0, var(--card) 60%);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(31,41,55,0.9);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card::before {
  content: "";
  position: absolute;
  width: 110%;
  height: 40px;
  top: -40px;
  left: -10%;
  background: linear-gradient(90deg,
              rgba(255,122,26,0.32),
              rgba(34,197,94,0.28),
              transparent);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.75);
  border-color: rgba(255,122,26,0.6);
}

.card:hover::before {
  opacity: 1;
  transform: translateY(40px);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card span {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--leaf);
}

/* Simple form inputs (Contact) */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  margin: 0.25rem 0 0.7rem;
  border-radius: 6px;
  border: 1px solid #374151;
  background: #020617;
  color: var(--text-main);
  padding: 0.4rem;
  font: inherit;
}

/* Footer */
footer {
  border-top: 1px solid rgba(31,41,55,0.9);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #020617;
}

/* Responsive */
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  nav ul { gap: 0.85rem; font-size: 0.82rem; }
}

/* Search box in header */
.site-search {
  margin-left: auto;
}

.site-search input[type="search"] {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 0.9rem;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
