:root {
  --bg-dark: #07090e;
  --bg-card: #0d121d;
  --bg-card-hover: #131b2a;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 245, 155, 0.3);
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-green: #00f59b;
  --accent-cyan: #00d2ff;
  --accent-purple: #9d4edd;
  --accent-gold: #ffb800;
  --accent-red: #ff4d6d;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-green { color: var(--accent-green) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-red { color: var(--accent-red) !important; }
.text-amber { color: #f59e0b !important; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, #00f59b 0%, #00d2ff 50%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-card);
  padding: 16px 0;
}

.nav-container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-badge {
  background: var(--accent-green);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.accent-text {
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  gap: 12px;
}

.btn-copier-nav {
  background: linear-gradient(135deg, var(--accent-green), #00c878);
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-copier-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 245, 155, 0.35);
}

.btn-operator-nav {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-operator-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 60px 0;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.12) 0%, rgba(0, 210, 255, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.25);
  color: var(--accent-green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.dot-live {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 3.2rem;
  max-width: 900px;
  margin: 0 auto 20px auto;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--accent-green), #00c878);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 245, 155, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 245, 155, 0.4);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.btn-subtext {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 4px;
}

.btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.hero-security-strip {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
  max-width: 850px;
  margin: 0 auto;
}

/* Metrics Bar */
.metrics-bar-section {
  padding: 40px 0;
  background: rgba(13, 18, 29, 0.5);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.metric-value-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metric-value {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.metric-sub {
  font-size: 0.75rem;
  font-weight: 600;
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Section Header */
.section-tag {
  display: inline-block;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Proof Section */
.live-proof-section {
  padding: 70px 0;
}

.proof-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.trade-proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trade-proof-card.win-card {
  border-color: rgba(0, 245, 155, 0.2);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pair-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pair-name {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.badge-direction {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-direction.buy {
  background: rgba(0, 245, 155, 0.15);
  color: var(--accent-green);
}

.badge-direction.neutral {
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
}

.badge-win {
  background: var(--accent-green);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-be {
  background: var(--accent-cyan);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.data-row .val {
  font-weight: 600;
  color: #fff;
}

/* Calculator Section */
.calculator-section {
  padding: 60px 0;
}

.calculator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.calc-info h2 {
  font-size: 2.2rem;
  margin: 12px 0 16px 0;
}

.calc-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.hl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.hl-num {
  width: 32px;
  height: 32px;
  background: rgba(0, 245, 155, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(0, 245, 155, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.calc-panel {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.input-val {
  color: var(--accent-green);
  font-weight: 700;
}

input[type=range] {
  width: 100%;
  accent-color: var(--accent-green);
  height: 6px;
  background: #1e293b;
  border-radius: 4px;
  outline: none;
}

.calc-results-card {
  background: rgba(13, 18, 29, 0.8);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.res-val {
  font-weight: 700;
}

.divider {
  height: 1px;
  background: var(--border-card);
  margin: 4px 0;
}

.highlight-result {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* Comparison Table */
.comparison-section {
  padding: 60px 0;
}

.comp-table-wrapper {
  margin-top: 36px;
  overflow-x: auto;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
}

.comp-table th, .comp-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-card);
}

.comp-table th {
  background: rgba(7, 9, 14, 0.7);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.col-cornix {
  color: var(--text-muted);
}

.col-bigs {
  background: rgba(0, 245, 155, 0.03);
}

/* Pricing Grid */
.pricing-section {
  padding: 60px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.pricing-card.recommended {
  border-color: var(--accent-green);
  box-shadow: 0 0 30px rgba(0, 245, 155, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0;
}

.price-val {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

/* Security Section */
.security-section {
  padding: 60px 0;
}

.security-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sec-left h2 {
  font-size: 2.2rem;
  margin: 12px 0 16px 0;
}

.sec-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.s-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.s-icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.api-card-preview {
  background: #05070a;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.api-card-header {
  background: #0d121d;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-card);
}

.circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.circle.red { background: #ff5f56; }
.circle.yellow { background: #ffbd2e; }
.circle.green { background: #27c93f; }

.api-title {
  margin-left: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.api-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.perm-row.allowed {
  background: rgba(0, 245, 155, 0.08);
  color: var(--accent-green);
}

.perm-row.forbidden {
  background: rgba(255, 77, 109, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(255, 77, 109, 0.3);
}

.perm-chk {
  font-weight: 800;
  font-size: 1.1rem;
}

.perm-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0 80px 0;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 24px;
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: #030508;
  border-top: 1px solid var(--border-card);
  padding: 50px 0 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}

/* Responsiveness Avanzada para Celulares y Tablets */
@media (max-width: 900px) {
  .hero-title { font-size: 2.2rem; }
  .calculator-box, .security-box { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
  .nav-links { display: none; }
  .hero-cta-group { flex-direction: column; align-items: stretch; width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .nav-container { width: 94%; }
  .brand { font-size: 1.05rem; }
  .btn-copier-nav { padding: 8px 12px; font-size: 0.8rem; }
  .hero-section { padding: 40px 0 30px 0; }
  .hero-pill { font-size: 0.7rem; padding: 4px 12px; margin-bottom: 16px; }
  .hero-title { font-size: 1.85rem; line-height: 1.25; margin-bottom: 16px; }
  .hero-subtitle { font-size: 0.95rem; line-height: 1.5; margin-bottom: 24px; padding: 0 4px; }
  .btn-primary-hero, .btn-secondary-hero { width: 100%; box-sizing: border-box; padding: 14px 18px; font-size: 0.95rem; }
  .hero-security-strip { flex-direction: column; gap: 10px; font-size: 0.8rem; }
  
  .metrics-grid { grid-template-columns: 1fr; gap: 14px; }
  .metric-card { padding: 18px; }
  
  .proof-cards-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .comp-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comp-table { min-width: 480px; font-size: 0.85rem; }

  .portal-container { width: 94%; margin: 20px auto 40px auto; }
  .portal-card { padding: 20px; }
  .toggle-switch-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}
