/* Vulcani — shared subpage stylesheet (landing pages, blog) */

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

:root {
  --orange: #ff6b35;
  --orange-light: #ff8a5b;
  --orange-glow: rgba(255, 107, 53, 0.25);
  --bg: #080810;
  --bg2: #0d0d1a;
  --bg3: #12121f;
  --surface: rgba(18, 18, 30, 0.7);
  --border: rgba(255, 107, 53, 0.15);
  --border-hover: rgba(255, 107, 53, 0.5);
  --text: #e2e2f0;
  --text-muted: #8888aa;
  --text-dim: #555577;
  --radius: 12px;
  --radius-lg: 20px;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-light); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; background: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Noise overlay */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Header / Nav */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.1rem 2rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(8, 8, 16, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, var(--orange));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.logo::after {
  content: '●'; font-size: 0.4rem; color: var(--orange);
  -webkit-text-fill-color: var(--orange);
  position: absolute; bottom: 4px; right: -8px;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white !important;
  padding: 0.6rem 1.3rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--orange-glow); color: white !important; }

/* Layout */
main { position: relative; z-index: 2; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

/* Hero */
.page-hero {
  padding: 9rem 2rem 4rem;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,107,53,0.08), transparent);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 12px var(--orange);
}
h1.page-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 auto 1.5rem;
  max-width: 14ch;
}
h1.page-title .grad {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-lede {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 60ch; margin: 0 auto 2.5rem;
}
.cta-row {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1rem;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white !important;
  padding: 1rem 1.8rem; border-radius: 10px;
  font-size: 1rem; font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--orange-glow); color: white !important; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text) !important;
  padding: 1rem 1.8rem; border-radius: 10px;
  font-size: 1rem; font-weight: 500;
  border: 1px solid var(--border);
  transition: border-color 0.3s, color 0.3s;
}
.btn-secondary:hover { border-color: var(--border-hover); color: var(--orange-light) !important; }

/* Sections */
section.block { padding: 5rem 0; }
section.block.alt { background: var(--bg2); }
h2.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 60ch; margin-bottom: 2.5rem;
}

/* Cards */
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(255,107,53,0.05));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.2rem;
}

/* Article (blog post body) */
article.post {
  padding: 3rem 0 5rem;
}
article.post h2 {
  font-size: 1.7rem; font-weight: 700; letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
}
article.post h3 {
  font-size: 1.3rem; font-weight: 700;
  margin: 2rem 0 0.75rem;
}
article.post p {
  margin-bottom: 1.2rem; color: var(--text);
  font-size: 1.05rem;
}
article.post ul, article.post ol {
  padding-left: 1.5rem; margin-bottom: 1.5rem;
}
article.post ul { list-style: disc; }
article.post ol { list-style: decimal; }
article.post li { margin-bottom: 0.6rem; color: var(--text); }
article.post strong { color: var(--text); font-weight: 600; }
article.post blockquote {
  border-left: 3px solid var(--orange);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-muted); font-style: italic;
}
article.post code {
  background: var(--bg3); padding: 2px 6px; border-radius: 4px;
  font-size: 0.9em; color: var(--orange-light);
}
.post-meta {
  display: flex; gap: 1rem; align-items: center;
  color: var(--text-dim); font-size: 0.9rem;
  margin-bottom: 2rem;
}
.post-meta time { color: var(--text-muted); }

/* Blog index list */
.post-list { display: grid; gap: 1.5rem; }
.post-card {
  display: block;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
  color: inherit;
}
.post-card:hover { border-color: var(--border-hover); transform: translateY(-3px); color: inherit; }
.post-card h2 {
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.post-card .excerpt { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 0.75rem; }
.post-card .post-meta { margin: 0; font-size: 0.85rem; }

/* Final CTA */
.final-cta {
  text-align: center; padding: 6rem 2rem;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,107,53,0.10), transparent);
  border-top: 1px solid var(--border);
}
.final-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.final-cta p {
  color: var(--text-muted); max-width: 50ch;
  margin: 0 auto 2rem; font-size: 1.05rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
footer .footer-links {
  display: flex; gap: 1.5rem; justify-content: center;
  margin-bottom: 1rem; flex-wrap: wrap;
}
footer .footer-links a { color: var(--text-muted); }
footer .footer-links a:hover { color: var(--orange); }

/* Mobile */
@media (max-width: 768px) {
  header { padding: 0.9rem 1.2rem; }
  .nav-links { display: none; }
  .page-hero { padding: 7rem 1.2rem 3rem; }
  section.block { padding: 3.5rem 0; }
  .container, .container-narrow { padding: 0 1.2rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
}
