/* UnitYield OS - Premium B2B Styles */

:root {
  /* Colors */
  --bg-dark: #161b27;
  --bg-darker: #0f121a;
  --accent-cyan: #98cbd1;
  --accent-cyan-dim: rgba(152, 203, 209, 0.1);
  --accent-hover: #7aaeb4;
  --text-white: #ffffff;
  --text-gray: #b0b3b8;
  --text-muted: #b0b3b8;
  /* alias para usos existentes */
  --border-light: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --accent: #98cbd1;
  /* alias para focus (compatibilidad) */

  /* Gradients */
  --gradient-main: linear-gradient(135deg, #161b27 0%, #0f121a 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(152, 203, 209, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Raleway', sans-serif;

  /* Spacing & Layout */
  --container-width: 1100px;
  --radius-lg: 16px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(152, 203, 209, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(152, 203, 209, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(152, 203, 209, 0.03) 0%, transparent 25%);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-white);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #98cbd1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.mb-large {
  margin-bottom: 4rem;
}

.mb-medium {
  margin-bottom: 2rem;
}

.section-padding {
  padding: 80px 0;
}

.section-tight {
  padding-top: 60px;
  padding-bottom: 60px;
}

.lead {
  font-size: 1.15rem;
}

.subnote {
  max-width: 820px;
  margin: 10px auto 0;
  color: var(--text-gray);
  font-size: 1rem;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: #0f121a;
  box-shadow: 0 4px 15px rgba(152, 203, 209, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(152, 203, 209, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--text-white);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background-color: var(--accent-cyan-dim);
}

/* Header */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: rgba(22, 27, 39, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
}

.nav-menu a:hover {
  opacity: 1;
  color: var(--accent-cyan);
}

/* Hero */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(22, 27, 39, 0.85), rgba(15, 18, 26, 0.95)), url('../images/BackgroundHero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  font-size: 3.5rem;
  max-width: 820px;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto 40px;
}

/* Trust Row */
.trust-row {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.trust-item {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Symptoms list */
.symptoms-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  text-align: left;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 26px;
}

.symptoms-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-white);
  opacity: 0.92;
}

.symptoms-list li::before {
  content: '✓';
  color: var(--accent-cyan);
  position: absolute;
  left: 0;
  top: 0;
}

/* Problem Section (Chaos vs Clarity) */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.problem-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.problem-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.problem-list li::before {
  content: '→';
  color: var(--accent-cyan);
  position: absolute;
  left: 0;
}

/* Deliverables Grid */
#deliverables {
  background-image: linear-gradient(to bottom, rgba(15, 18, 26, 0.92), rgba(22, 27, 39, 0.95)), url('../images/Dashmockup.png') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.deliverable-item {
  background: var(--bg-darker);
  border: 1px solid var(--border-light);
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 0.3s ease;
}

.deliverable-item:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
}

.icon-box {
  width: 48px;
  height: 48px;
  background: var(--accent-cyan-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  position: relative;
  padding: 24px;
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 10px;
  right: 20px;
  font-weight: 700;
}

/* Services / Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.solution-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.solution-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  border-radius: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Social Proof */
#results {
  background-image: linear-gradient(to bottom, rgba(15, 18, 26, 0.9), rgba(22, 27, 39, 0.95)), url('../images/results.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(22, 27, 39, 0.8);
  padding: 30px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-cyan);
  backdrop-filter: blur(5px);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-white);
}

.testimonial-author {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 700;
  margin-bottom: 6px;
}

.testimonial-meta {
  font-size: 0.9rem;
  color: var(--text-gray);
  opacity: 0.85;
  margin-bottom: 0;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-gray);
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding-bottom: 20px;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.hidden {
  display: none;
}

/* Contact */
#contacto {
  background-image: linear-gradient(to bottom, rgba(22, 27, 39, 0.92), rgba(15, 18, 26, 0.95)), url('../images/finalcta.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.contact-section {
  display: flex;
  justify-content: center;
}

.contact-card {
  max-width: 520px;
  width: 100%;
  padding: 48px 40px;
  border-radius: 16px;
  background: rgba(20, 24, 34, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-header {
  text-align: center;
  margin-bottom: 32px;
}

.contact-header h2 {
  margin-bottom: 12px;
}

.contact-header p {
  color: var(--text-gray);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 1px rgba(120, 200, 210, 0.3);
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-gray);
  opacity: 0.9;
}

.btn-full {
  width: 100%;
  margin-top: 8px;
}

.form-microcopy {
  font-size: 0.85rem;
  color: var(--text-gray);
  text-align: center;
  margin-top: 6px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 60px 0;
  background: var(--bg-darker);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .contact-card {
    padding: 34px 26px;
  }

  .symptoms-list {
    padding: 20px 18px;
  }
}
/* Language Selector */
.lang-selector { display: flex; gap: 10px; align-items: center; }
.lang-btn { background: none; border: 1px solid transparent; color: var(--text-gray); cursor: pointer; font-size: 0.9rem; padding: 4px 8px; border-radius: 4px; transition: all 0.3s ease; }
.lang-btn:hover { color: var(--text-white); }
.lang-btn.active { color: var(--accent-cyan); border-color: var(--accent-cyan-dim); background: var(--accent-cyan-dim); }
