/* ==============================================================================
   FASTROIKEY V24 - MASTER STYLESHEET
   Aesthetics: Deep Tech Corporate / Sleek Dark Glassmorphism / Industrial Precision
   ============================================================================== */

:root {
  /* Color Palette - FastROIkey Official Brand (Amber Gold & Sapphire) */
  --bg-primary: #06090f;
  --bg-surface: #0c1322;
  --bg-surface-elevated: rgba(18, 26, 44, 0.7);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-glass-active: rgba(30, 41, 59, 0.85);

  --accent-gold: #e5a825;
  --accent-gold-light: #fbbf24;
  --accent-gold-dark: #c48b1a;
  --accent-amber: #e5a825;
  --accent-cyan: #fbbf24;
  --accent-blue: #e5a825;
  --accent-sapphire: #42a5f5;
  --accent-glow: rgba(229, 168, 37, 0.22);
  --accent-green: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(229, 168, 37, 0.45);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px var(--accent-glow);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(229, 168, 37, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(66, 165, 245, 0.06) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.25;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #fbbf24 65%, #e5a825 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 9, 15, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.brand-logo svg, .brand-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-text {
  display: none !important; /* Elimina redundancia: el logo oficial ya contiene el texto */
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #e5a825 100%);
  color: #0b0f19;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(229, 168, 37, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 168, 37, 0.55);
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--bg-glass-active);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
}

.badge-live {
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--accent-green);
}

.badge-live::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Section */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle {
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
}

.hero-cta-group {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.proof-item strong {
  color: var(--text-main);
}

/* Features Matrix / 3 Pillars */
.section-wrapper {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.section-header p {
  margin-top: 14px;
  font-size: 1.1rem;
}

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

.glass-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-highlight), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(229, 168, 37, 0.1);
  border: 1px solid rgba(229, 168, 37, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  color: var(--accent-gold);
}

.card-title {
  margin-bottom: 12px;
}

.card-metric {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--accent-gold-light);
  font-size: 1.15rem;
}

/* Hardware Showcase */
.products-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.product-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.product-media {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, transparent 70%);
  border-radius: var(--radius-md);
}

.product-media img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.6));
  transition: var(--transition-smooth);
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.specs-list {
  list-style: none;
  margin-top: 20px;
}

.specs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.specs-list li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Case Study CSIM / Real Estate & Industry Tabs */
.tabs-container {
  margin-top: 40px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: linear-gradient(135deg, #fbbf24 0%, #e5a825 100%);
  color: #0b0f19;
  border-color: #fbbf24;
  box-shadow: 0 4px 15px rgba(229, 168, 37, 0.35);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: rgba(15, 23, 42, 0.8);
  font-weight: 700;
  font-size: 0.95rem;
}

.comparison-table td {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.highlight-col {
  background: rgba(229, 168, 37, 0.05);
  color: var(--text-main) !important;
  font-weight: 600;
}

/* Modal / Technology Preview Form */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-main);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(229, 168, 37, 0.3);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  background: #04060a;
  margin-top: 80px;
}

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

.footer-brand p {
  margin-top: 12px;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* Pre-Footer CTA Banner */
.pre-footer-cta {
  padding: 60px 0 20px;
}

.cta-card-gold {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-color: rgba(229, 168, 37, 0.4);
  background: radial-gradient(circle at top right, rgba(229, 168, 37, 0.08), transparent 60%), var(--bg-surface-elevated);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(229, 168, 37, 0.12);
}

.divider-gold-diamond {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 168, 37, 0.45) 30%, rgba(66, 165, 245, 0.45) 70%, transparent);
  margin-bottom: 50px;
}

/* Live Pulse Badge */
.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-dot 2s infinite;
}

/* CEO Card Mini */
.ceo-card-mini {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition-smooth);
}

.ceo-card-mini:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.ceo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ceo-header strong {
  font-size: 1rem;
  color: var(--text-main);
}

.badge-ceo {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(229, 168, 37, 0.15);
  color: var(--accent-gold-light);
  border: 1px solid rgba(229, 168, 37, 0.3);
  font-weight: 600;
}

.btn-linkedin-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
  margin-top: 6px;
  transition: var(--transition-smooth);
}

.btn-linkedin-mini:hover {
  color: #93c5fd;
  transform: translateX(2px);
}

.btn-google-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  text-decoration: none;
  margin-top: 4px;
  transition: var(--transition-smooth);
}

.btn-google-mini:hover {
  color: #fbbf24;
  transform: translateX(2px);
}

.footer-mail-link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-top: 8px;
  transition: var(--transition-smooth);
}

.footer-mail-link:hover {
  color: var(--accent-gold-light);
}

/* Trust Badges Bar */
.trust-badges-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.trust-badge:hover {
  color: var(--text-main);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(229, 168, 37, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .products-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .cta-card-gold {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Security Alert & Dispatch Result */
.form-security-alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 18px;
  animation: fadeIn 0.3s ease;
}

.form-result-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
  animation: fadeIn 0.4s ease;
}

.form-result-box h4 {
  color: #34d399;
  font-size: 1.25rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-result-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.result-recipients {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-action-gmail {
  background: #ea4335;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-action-gmail:hover {
  background: #d93025;
  box-shadow: 0 4px 15px rgba(234, 67, 53, 0.35);
}

.btn-action-outlook {
  background: #0078d4;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-action-outlook:hover {
  background: #106ebe;
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.35);
}

.btn-action-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-action-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

