/* Finchat - Paleta Profesional */
:root {
  --color-salmon: #D98972;
  --color-salmon-light: #E8998D;
  --color-beige: #eeecdd;
  --color-cream: #f5f5f0;
  --color-gold: #F5C563;
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-gray: #6b6b6b;
  --color-gray-light: #a8a8a8;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--color-beige);
  color: var(--color-black);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navegación */
.navbar {
  background: var(--color-black);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-salmon-light);
}

.btn {
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.btn-primary {
  background: var(--color-salmon);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-salmon-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: var(--color-black);
  color: var(--color-white);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  color: var(--color-gray-light);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-salmon {
  background: var(--color-salmon-light);
}

.section-cream {
  background: var(--color-cream);
}

.section-beige {
  background: var(--color-beige);
}

.section-title {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gray);
  margin-bottom: 16px;
}

.section-heading {
  text-align: center;
  font-size: 42px;
  margin-bottom: 64px;
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

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

/* Feature Cards */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.feature:nth-child(even) {
  direction: rtl;
}

.feature:nth-child(even) > * {
  direction: ltr;
}

.feature-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gray);
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature p {
  font-size: 16px;
  color: var(--color-gray);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.testimonial {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-beige);
}

.testimonial-name {
  font-weight: 600;
  font-size: 16px;
}

.testimonial-text {
  color: var(--color-gray);
  line-height: 1.8;
}

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

.faq-item {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.faq-answer {
  color: var(--color-gray);
  line-height: 1.8;
}

/* CTA */
.cta {
  background: var(--color-gold);
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 48px;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: var(--color-beige);
  padding: 60px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-links a {
  color: var(--color-black);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-salmon);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  color: var(--color-gray);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-links a {
  color: var(--color-black);
  font-size: 20px;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--color-salmon);
}

/* Dashboard - Editable Cells */
.editable-cell {
  background-color: #fef9e7 !important; /* Amarillo Finchat mucho más claro */
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  padding: 8px 28px 8px 10px !important; /* Más delgado - espacio para flechita */
  border-radius: 4px;
}

.editable-cell:hover {
  background-color: #F5C563 !important; /* Amarillo Finchat (gold) al hover */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dropdown-indicator {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  color: #999;
  opacity: 0.6;
  transition: opacity 0.2s;
  pointer-events: none; /* No interfiere con el click */
}

.editable-cell:hover .dropdown-indicator {
  opacity: 1;
  color: #333;
}

/* Pending changes styling */
.pending-change {
  background-color: #fff3cd !important;
  border: 2px dotted #ffa500 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content,
  .feature,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .section-heading {
    font-size: 32px;
  }
  
  .nav-links {
    display: none;
  }
  
  .feature:nth-child(even) {
    direction: ltr;
  }
}
