/*
Theme Name: TechnologyVC Onepage
Theme URI: https://technologyvc.cl/
Author: TechnologyVC
Description: Tema one-page personalizado para TechnologyVC (integración, automatización y datos).
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: technologyvc-onepage
*/

:root {
  --bg-main: #050816;
  --bg-section: #070b1c;
  --card-bg: #0b1024;
  --accent: #5b8dff;
  --accent-soft: rgba(91, 141, 255, 0.12);
  --text-main: #f5f5f5;
  --text-muted: #b3b9d4;
  --border-soft: #1b2340;
  --radius-lg: 18px;
  --max-width: 1120px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at 0% 0%, #162447 0, #050816 45%, #02010a 100%);
  color: var(--text-main);
  line-height: 1.6;
}

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

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(to bottom, rgba(5,8,22,0.98), rgba(5,8,22,0.90), rgba(5,8,22,0.0));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.nav-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: conic-gradient(from 150deg, #5b8dff 0deg, #8f6bff 90deg, #00d8ff 210deg, #5b8dff 360deg);
  box-shadow: 0 0 18px rgba(91,141,255,0.8);
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nav-links a {
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #5b8dff, #00d8ff);
  transition: width 0.2s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(91,141,255,0.45);
  font-size: 0.85rem;
  background: radial-gradient(circle at 0 0, rgba(91,141,255,0.18), transparent 60%);
}
@media (max-width: 860px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
}

main {
  max-width: var(--max-width);
  margin: 0 auto 80px auto;
  padding: 0 18px 40px 18px;
}

section {
  margin-top: 60px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91,141,255,0.25);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  gap: 6px;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d8ff;
  box-shadow: 0 0 8px rgba(0,216,255,0.6);
}

.title-xl {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 650;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.title-lg {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 620px;
}

.btn-primary {
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #5b8dff, #00d8ff);
  color: #02010a;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,0.65);
}
.btn-secondary {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(7, 11, 28, 0.85);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 16px 0;
}
.hero-highlight {
  background: linear-gradient(90deg, #5b8dff, #00d8ff);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 540px;
}
.hero-side {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orb {
  width: 240px;
  height: 240px;
  border-radius: 40%;
  background:
    radial-gradient(circle at 10% 0%, rgba(0,216,255,0.45), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(143,107,255,0.5), transparent 55%),
    radial-gradient(circle at 50% 50%, #050816, #02010a 80%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.85);
  position: relative;
  overflow: hidden;
}
.hero-orb::after {
  content: "TechnologyVC Core";
  position: absolute;
  inset: 28% 10%;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5,8,22,0.72);
  font-size: 0.76rem;
  padding: 10px 12px;
  color: var(--text-muted);
  text-align: center;
}
.hero-badge {
  position: absolute;
  bottom: 18px;
  right: 0;
  background: rgba(7, 11, 28, 0.95);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(91,141,255,0.45);
  font-size: 0.75rem;
  color: var(--text-muted);
  box-shadow: 0 16px 40px rgba(0,0,0,0.9);
}
@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-side {
    order: -1;
  }
  .hero {
    text-align: left;
  }
}

.cards-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  background: radial-gradient(circle at 0 0, rgba(91,141,255,0.25), transparent 55%), var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 18px 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 120% -10%, rgba(255,255,255,0.12), transparent 55%);
  opacity: 0.4;
  pointer-events: none;
}
.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.card-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.core-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
}
@media (max-width: 880px) {
  .core-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.core-box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: rgba(7,11,28,0.9);
  padding: 18px 18px 20px 18px;
  box-shadow: var(--shadow-soft);
}
.core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 720px) {
  .core-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.core-item {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 10px 12px;
  font-size: 0.82rem;
  background: radial-gradient(circle at 0 0, rgba(91, 141, 255, 0.15), transparent 60%);
  color: var(--text-muted);
}
.core-label {
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 3px;
  color: #e0e4ff;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 0.8rem;
  background: rgba(7,11,28,0.9);
  color: var(--text-muted);
}

.models-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 880px) {
  .models-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-section {
  margin-top: 60px;
  border-radius: 26px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at 0 0, rgba(0,216,255,0.14), transparent 60%), #070b1c;
  padding: 26px 20px 26px 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .contact-section {
    grid-template-columns: minmax(0, 1fr);
  }
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
}
label span {
  color: #ff8080;
}
input, select, textarea {
  background: #050816;
  border-radius: 10px;
  border: 1px solid #262d4a;
  padding: 9px 10px;
  font-size: 0.85rem;
  color: var(--text-main);
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
input:focus, select:focus, textarea:focus {
  border-color: #5b8dff;
  box-shadow: 0 0 0 1px rgba(91,141,255,0.35);
}
.form-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 18px 20px 26px 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
