/*
Theme Name: vtezero Basic
Theme URI: https://vtezero.example
Author: vtezero
Description: Template WordPress minimale basato sul CSS di vtezero-homepagedef.html.
Version: 1.0.0
Text Domain: vtezero-basic
*/

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

:root {
  --bg: #080910;
  --bg2: #0e1018;
  --bg3: #13151f;
  --border: rgba(255,255,255,0.07);
  --text: #f0f2f8;
  --muted: #6b7280;
  --accent: #63b3ed;
  --accent2: #4fd1c5;
  --accent3: #b794f4;
  --red: #fc8181;
  --yellow: #f6e05e;
  --green: #68d391;
  --card-bg: #0d0f18;
  --syne: 'Syne', sans-serif;
  --mono: 'DM Mono', monospace;
  --body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,179,237,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,179,237,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 5%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(8,9,16,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo,
.footer-logo {
  font-family: var(--syne);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo { font-size: 22px; }
.footer-logo { font-size: 18px; }
.nav-logo span,
.footer-logo span { color: var(--accent); }

.nav-links,
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-links a { font-size: 12px; }
.nav-links a:hover,
.footer-links a:hover { color: var(--text); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

section,
.site-main,
.site-footer { position: relative; z-index: 1; }

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 8% 80px;
  position: relative;
  overflow: hidden;
}

.hero-tag,
.section-label,
.manifesto-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  border: 1px solid rgba(99,179,237,0.2);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 2rem;
  width: fit-content;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1,
.hero-title {
  font-family: var(--syne);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

h1 em,
.hero-title em,
.cta-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.btn-primary,
.btn-ghost {
  padding: 14px 28px;
  font-family: var(--syne);
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
}

.btn-primary:hover {
  background: #90cdf4;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.wp-block-buttons,
.entry-content .wp-block-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.wp-block-button .wp-block-button__link,
.entry-content .wp-block-button .wp-block-button__link {
  padding: 14px 28px;
  font-family: var(--syne);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.wp-block-buttons .wp-block-button:first-child .wp-block-button__link,
.entry-content .wp-block-buttons .wp-block-button:first-child .wp-block-button__link {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.wp-block-buttons .wp-block-button:first-child .wp-block-button__link:hover,
.entry-content .wp-block-buttons .wp-block-button:first-child .wp-block-button__link:hover {
  background: #90cdf4;
  border-color: #90cdf4;
  color: var(--bg);
  transform: translateY(-1px);
}

.wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link,
.entry-content .wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.entry-content .wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link:hover,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.hero-metrics {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.metric-value {
  font-family: var(--syne);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.metric-value span { color: var(--accent); }

.metric-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
  font-family: var(--mono);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(99,179,237,0.07);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(183,148,244,0.06);
  bottom: 0;
  left: -100px;
}

.section {
  padding: 100px 8%;
  border-top: 1px solid var(--border);
}

.section-alt { background: var(--bg2); }

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.manifesto-label { color: var(--accent2); margin-bottom: 1.5rem; }

.manifesto-title,
.section-title {
  font-family: var(--syne);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.manifesto-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.manifesto-text strong {
  color: var(--text);
  font-weight: 500;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.pillar:first-child { border-radius: 4px 4px 0 0; }
.pillar:last-child { border-radius: 0 0 4px 4px; }
.pillar:hover {
  border-color: rgba(99,179,237,0.25);
  background: rgba(99,179,237,0.03);
}

.pillar-icon {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.15);
  padding: 6px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-name {
  font-family: var(--syne);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

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

.section-label {
  color: var(--accent3);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 3rem;
}

.service-card {
  background: var(--card-bg);
  padding: 2rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card:hover { background: rgba(255,255,255,0.025); }
.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.service-title {
  font-family: var(--syne);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.service-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

#cta {
  padding: 120px 8%;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta .orb {
  width: 800px;
  height: 400px;
  background: rgba(99,179,237,0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-title {
  font-family: var(--syne);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  position: relative;
}

.site-footer {
  padding: 2rem 8%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-text {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

.content-wrap {
  width: min(900px, 84%);
  margin: 0 auto;
  padding: 130px 0 80px;
}

.entry {
  /* background: var(--card-bg); */
  /* border: 1px solid var(--border); */
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 24px;
}

.entry-title {
  font-family: var(--syne);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.entry-title a { text-decoration: none; }
.entry-content { color: var(--muted); }
.entry-content p { margin-bottom: 1rem; }

.home-page-content {
  padding-top: 0;
}

/* .home-page-content .entry {
  width: min(1000px, 100%);
  margin: 0 auto;
} */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.35s; opacity: 0; }
.delay-4 { animation-delay: 0.5s; opacity: 0; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2d3040; border-radius: 2px; }

@media (max-width: 900px) {
  .site-nav {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 6%;
  }

  .nav-links {
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
  }

  #hero { min-height: auto; padding: 72px 6%; }
  .section, #cta { padding: 72px 6%; }
  .manifesto-grid,
  .cards-grid { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 3rem; }
  .hero-metrics { gap: 1.5rem; }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-links { flex-direction: column; }
  .hero-ctas { flex-direction: column; }
  .btn-primary,
  .btn-ghost { width: 100%; text-align: center; }
  .pillar { flex-direction: column; gap: 1rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
  .wp-block-buttons,
  .entry-content .wp-block-buttons { flex-direction: column; }
  .wp-block-button,
  .wp-block-button .wp-block-button__link { width: 100%; text-align: center; }
}
