/*
Theme Name: REDFORE
Theme URI: https://redfore.com
Author: REDFORE Digital Education
Author URI: https://redfore.com
Description: Tema WordPress profesional de alto rendimiento enfocado en economía, educación financiera, inversiones, ingresos y monetización por marketing de afiliación (Hotmart). Incluye 40 artículos educativos demo, 10 páginas de venta de alta conversión, calculadoras interactivas, soporte Gutenberg/WPBakery/Elementor y arquitectura SEO optimizada.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: redfore
Tags: financial, education, affiliate-marketing, hotmart, blog, news, e-commerce, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-width-template, theme-options, translation-ready

REDFORE Theme Stylesheet
*/

:root {
  --rf-primary: #0b192c;
  --rf-primary-light: #1e3a8a;
  --rf-accent: #2563eb;
  --rf-accent-hover: #1d4ed8;
  --rf-cyan: #06b6d4;
  --rf-bg-light: #f8fafc;
  --rf-text-main: #0f172a;
  --rf-text-muted: #64748b;
  --rf-border: #e2e8f0;
  --rf-card-bg: #ffffff;
  --rf-radius-sm: 8px;
  --rf-radius-md: 12px;
  --rf-radius-lg: 20px;
  --rf-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --rf-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--rf-font);
  color: var(--rf-text-main);
  background-color: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rf-accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--rf-accent-hover);
}

.rf-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header & Nav */
.rf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rf-border);
}

.rf-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.rf-logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--rf-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rf-logo-badge {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.rf-nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.rf-nav-menu li a {
  color: #334155;
  font-weight: 500;
  font-size: 14px;
}

.rf-nav-menu li a:hover {
  color: var(--rf-accent);
}

.rf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--rf-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.rf-btn-primary {
  background: var(--rf-accent);
  color: #ffffff;
}

.rf-btn-primary:hover {
  background: var(--rf-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.rf-btn-outline {
  border: 1px solid var(--rf-border);
  background: transparent;
  color: var(--rf-text-main);
}

.rf-btn-outline:hover {
  background: #f1f5f9;
}

/* Hero Section */
.rf-hero {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(180deg, #0b192c 0%, #0f172a 100%);
  color: white;
  overflow: hidden;
}

.rf-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.rf-hero p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 680px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Pillars Grid */
.rf-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.rf-pillar-card {
  background: var(--rf-card-bg);
  border-radius: var(--rf-radius-md);
  padding: 28px;
  box-shadow: var(--rf-shadow);
  border: 1px solid var(--rf-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rf-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
}

/* Articles and Course Cards */
.rf-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.rf-card {
  background: #ffffff;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

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

.rf-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.rf-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rf-card-tag {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--rf-accent);
  margin-bottom: 10px;
}

.rf-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--rf-text-main);
}

.rf-card-excerpt {
  font-size: 14px;
  color: var(--rf-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Footer */
.rf-footer {
  background: #0b192c;
  color: #94a3b8;
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.rf-footer h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 18px;
}

.rf-footer ul {
  list-style: none;
}

.rf-footer ul li {
  margin-bottom: 10px;
}

.rf-footer ul li a {
  color: #94a3b8;
  font-size: 14px;
}

.rf-footer ul li a:hover {
  color: white;
}

.rf-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--rf-radius-sm);
  padding: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
  margin-top: 30px;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .rf-nav-menu {
    display: none;
  }
  .rf-hero h1 {
    font-size: 32px;
  }
}
