/*
Theme Name: Interpretaria
Theme URI: https://interpretaria.com
Description: Tema futurista dark mode para Interpretaria
Author: Interpretaria
Version: 1.0
Template: astra
*/

/* ===== RESET & BASE ===== */
:root {
  --bg: #060608;
  --bg2: #0c0c10;
  --bg3: #111116;
  --border: #1e1e28;
  --border2: #2a2a38;
  --text: #e8e8f0;
  --text2: #8888a0;
  --text3: #44445a;
  --accent: #7B6EF6;
  --accent2: #4ECDC4;
  --accent3: #FF6B6B;
  --glow: rgba(123,110,246,0.15);
}

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

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Outfit', sans-serif !important;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

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

/* ===== NAV ===== */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(6,6,8,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(123,110,246,0.05);
}

.logo-icon::before { content: 'IA'; }

.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a { font-size: 13px; color: var(--text2); padding: 6px 14px; border-radius: 6px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.btn-accent { font-size: 12px; padding: 7px 18px; border: 1px solid var(--accent); border-radius: 6px; color: #fff; background: var(--accent); font-weight: 600; transition: opacity 0.2s; }
.btn-accent:hover { opacity: 0.85; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  z-index: 1;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,110,246,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,205,196,0.08) 0%, transparent 70%);
  top: 30%; right: 10%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(123,110,246,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 2rem;
  background: rgba(123,110,246,0.05);
}

.badge-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dim { color: var(--text2); }

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; }

.btn-hero {
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}

.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 0 30px rgba(123,110,246,0.3);
}

.btn-hero-primary:hover { box-shadow: 0 0 50px rgba(123,110,246,0.5); transform: translateY(-1px); color: #fff; }
.btn-hero-secondary { background: transparent; color: var(--text2); border: 1px solid var(--border2); }
.btn-hero-secondary:hover { border-color: var(--text2); color: var(--text); }

/* ===== TICKER ===== */
.ticker {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex; gap: 3rem;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
  width: max-content;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  display: flex; align-items: center; gap: 8px;
}

.ticker-item span { color: var(--accent2); }

/* ===== CATS ===== */
.cats {
  position: relative; z-index: 1;
  display: flex; gap: 8px;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  overflow-x: auto;
  scrollbar-width: none;
}

.cats::-webkit-scrollbar { display: none; }

.cat-pill {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  padding: 6px 16px;
  border: 1px solid var(--border2);
  border-radius: 20px;
  color: var(--text2);
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-block;
}

.cat-pill:hover, .cat-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(123,110,246,0.05);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  position: relative; z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.featured-post {
  grid-column: 1 / -1;
  background: var(--bg2);
  padding: 2rem;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid var(--border);
}

.featured-post::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.featured-post:hover { background: var(--bg3); }

.feat-tag {
  display: inline-flex;
  align-items: center; gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feat-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.feat-title { font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -0.5px; margin-bottom: 1rem; }
.feat-title a { color: var(--text); }
.feat-excerpt { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 1.5rem; font-weight: 300; }

.feat-meta { display: flex; align-items: center; justify-content: space-between; }
.feat-info { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text3); text-transform: uppercase; }
.feat-read { font-size: 12px; color: var(--accent); font-weight: 600; }
.feat-read::after { content: ' →'; }

.article-card {
  background: var(--bg2);
  padding: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.article-card:hover { background: var(--bg3); }

.card-num { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text3); margin-bottom: 12px; }
.card-cat { font-size: 10px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.card-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; letter-spacing: -0.2px; margin-bottom: 12px; }
.card-title a { color: var(--text); }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-date { font-family: 'Space Mono', monospace; font-size: 9px; color: var(--text3); }
.card-arrow { font-size: 14px; color: var(--text3); }

.no-posts { text-align: center; padding: 4rem; color: var(--text2); font-family: 'Space Mono', monospace; font-size: 13px; }

/* ===== NEWSLETTER ===== */
.newsletter {
  position: relative; z-index: 1;
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  text-align: center;
}

.newsletter-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--accent2);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
}

.newsletter h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 0.75rem; }
.newsletter p { font-size: 15px; color: var(--text2); margin-bottom: 2rem; font-weight: 300; }

.newsletter-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }

.newsletter-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  outline: none;
}

.newsletter-input:focus { border-color: var(--accent); }
.newsletter-input::placeholder { color: var(--text3); }

.newsletter-btn {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff; border: none;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}

.footer-logo { font-family: 'Space Mono', monospace; font-size: 14px; font-weight: 700; color: var(--text2); }
.footer-text { font-size: 12px; color: var(--text3); font-family: 'Space Mono', monospace; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 12px; color: var(--text3); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ===== SINGLE POST ===== */
.single-wrapper {
  max-width: 720px; margin: 0 auto;
  padding: 100px 2rem 4rem;
  position: relative; z-index: 1;
}

.single-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1.5rem;
}

.single-cat { font-size: 11px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.single-date { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--text3); }
.single-read { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--text3); }

.single-title {
  font-size: 36px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.8px;
  color: var(--text); margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.single-content { font-size: 16px; color: var(--text2); line-height: 1.8; font-weight: 300; }
.single-content h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 2rem 0 1rem; letter-spacing: -0.3px; }
.single-content h3 { font-size: 18px; font-weight: 600; color: var(--text); margin: 1.5rem 0 0.75rem; }
.single-content p { margin-bottom: 1.25rem; }
.single-content a { color: var(--accent); }
.single-content ul, .single-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.single-content li { margin-bottom: 0.5rem; }
.single-content strong { color: var(--text); font-weight: 600; }
.single-content blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; color: var(--text2); font-style: italic; margin: 1.5rem 0; }

/* ===== ASTRA OVERRIDES ===== */
.ast-container, .site-content, #page { background: transparent !important; }
.ast-header-wrap, header { display: none !important; }
