Copy

/*
Theme Name:   UGOFX Child
Theme URI:    https://ugofx.com
Description:  UGOFX Mean Reversion System — Child theme for Astra
Author:       UGOFX Trading Ltd
Author URI:   https://ugofx.com
Template:     astra
Version:      2.0.0
License:      Private
Text Domain:  ugofx-child
*/
 
/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
:root {
  --navy:       #0a1628;
  --blue:       #1a4fd6;
  --blue-light: #eef2fd;
  --blue-mid:   #4f8ef7;
  --white:      #ffffff;
  --surface:    #f7f9ff;
  --text:       #0a1628;
  --text-muted: rgba(10,22,40,0.65);
  --text-faint: rgba(10,22,40,0.4);
  --border:     rgba(10,22,40,0.08);
  --border-med: rgba(10,22,40,0.15);
  --green:      #0e7a3e;
  --red:        #c0392b;
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --max-w:      1100px;
  --pad-x:      48px;
}
 
html { scroll-behavior: smooth; }
 
body.ugofx-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
 
/* ============================================================
   HIDE ASTRA CHROME
   ============================================================ */
body.ugofx-page #masthead,
body.ugofx-page .ast-above-header,
body.ugofx-page footer.site-footer,
body.ugofx-page .ast-breadcrumbs-wrapper { display: none !important; }
 
body.ugofx-page #page,
body.ugofx-page #content,
body.ugofx-page #primary,
body.ugofx-page .site-content,
body.ugofx-page .ast-container,
body.ugofx-page .entry-content,
body.ugofx-page article.hentry {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
}
 
body.ugofx-page .site-content > .ast-container {
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
}
 
body.ugofx-page #page,
body.ugofx-page .ug-root {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}
 
/* ============================================================
   NAV
   ============================================================ */
.ug-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
 
.ug-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
 
.ug-logo-img {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.ug-logo-img img {
  height: 36px;
  width: auto;
  display: block;
}
 
.ug-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.ug-nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.ug-nav-links a:hover { color: var(--text); }
 
/* ============================================================
   BUTTONS
   ============================================================ */
.ug-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}
.ug-btn:hover { opacity: 0.88; }
 
.ug-btn-primary {
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  -webkit-text-fill-color: #ffffff;
}
.ug-btn-primary:hover {
  opacity: 0.88;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
.ug-btn-primary:active {
  opacity: 0.85;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
 
.ug-btn-lg {
  font-size: 15px;
  padding: 15px 32px;
  border-radius: var(--radius-md);
}
 
.ug-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-med);
  font-size: 15px;
  padding: 15px 26px;
  border-radius: var(--radius-md);
}
 
/* ============================================================
   HERO
   ============================================================ */
.ug-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px var(--pad-x) 88px;
}
 
.ug-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 32px;
}
 
.ug-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
 
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
 
.ug-hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  max-width: 100%;
  margin-bottom: 24px;
}
 
.ug-hero h1 em {
  display: block;
  font-style: italic;
  font-size: 26px;
  font-weight: 500;
  color: #1440b0;
  margin-top: 10px;
  letter-spacing: 0.01em;
}
 
/* Inline on desktop — split to block on mobile via .ug-h1-line2 */
.ug-h1-line2 { display: inline; }
 
.ug-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 100%;
  white-space: normal;
  margin-bottom: 44px;
}
 
.ug-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
 
.ug-price-note {
  font-size: 14px;
  color: var(--text-faint);
  margin-left: 4px;
}
.ug-price-note strong { color: var(--text); font-weight: 500; }
 
/* ============================================================
   STATS BAR
   ============================================================ */
.ug-stats-bar {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
 
.ug-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
 
.ug-stat {
  padding: 36px 32px;
  border-right: 0.5px solid var(--border);
}
.ug-stat:first-child { padding-left: 0; }
.ug-stat:last-child  { border-right: none; }
 
.ug-stat-val {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.ug-stat-val span { color: var(--blue); }
 
.ug-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
 
/* ============================================================
   SECTIONS
   ============================================================ */
.ug-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 88px var(--pad-x);
}
 
.ug-section-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 14px;
}
 
.ug-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #05112a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  white-space: normal;
  overflow: visible;
}
 
.ug-section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 100%;
  white-space: normal;
  line-height: 1.7;
  margin-bottom: 52px;
}
 
.ug-section-divider {
  border: none;
  border-top: 0.5px solid rgba(10,22,40,0.1);
  margin: 0 0 32px 0;
}
 
/* Pipe separator — visible on desktop, hidden on mobile */
.ug-pipe-desktop { display: inline; color: var(--navy); }
 
/* Mobile line break — hidden on desktop */
body.ugofx-page br.ug-mobile-break { display: none; }
 
/* ============================================================
   PERFORMANCE CARDS
   ============================================================ */
.ug-perf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
 
.ug-perf-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
 
.ug-perf-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
 
.ug-perf-val {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--navy);
}
.ug-perf-val.pos { color: var(--green); }
.ug-perf-val.neg { color: var(--red); }
 
.ug-perf-sub { font-size: 12px; color: var(--text-muted); }
 
.ug-chart-wrap {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
  height: 160px;
  overflow: hidden;
}
 
.ug-verify-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
 
.ug-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0.5px solid var(--border-med);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--white);
  transition: border-color 0.2s, color 0.2s;
}
.ug-verify-link:hover { border-color: var(--blue); color: var(--blue); }
 
.ug-verify-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
 
/* ============================================================
   HOW IT WORKS
   ============================================================ */
.ug-how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
 
.ug-how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s;
}
.ug-how-card:hover { border-color: var(--blue); }
 
.ug-how-num {
  font-size: 12px;
  font-weight: 500;
  color: rgba(26,79,214,0.4);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
 
.ug-how-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
 
.ug-how-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
}
 
/* ============================================================
   CTA / APPLY BLOCK
   ============================================================ */
.ug-cta-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) 88px;
}
 
.ug-cta {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
}
 
.ug-cta-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
 
.ug-cta h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
 
.ug-cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 0;
}
 
.ug-cta-price {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin: 24px 0 4px;
}
.ug-cta-price span {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
}
 
.ug-cta-mincap {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}
 
.ug-cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 14px;
  justify-content: center;
}
 
.ug-cta-note {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
 
/* ============================================================
   FOOTER
   ============================================================ */
.ug-footer {
  border-top: 0.5px solid var(--border);
}
 
.ug-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
 
.ug-footer-co {
  font-size: 11px;
  color: rgba(10,22,40,0.6);
  margin-top: 4px;
}
 
.ug-footer-disc {
  font-size: 11px;
  color: rgba(10,22,40,0.55);
  max-width: 480px;
  line-height: 1.7;
  text-align: right;
}
 
/* ============================================================
   APPLY PAGE
   ============================================================ */
.ug-apply-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  padding: 48px var(--pad-x);
}
 
.ug-apply-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10,22,40,0.12);
}
 
.ug-apply-left {
  background: var(--navy);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
 
.ug-apply-left-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
 
.ug-apply-left-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 28px 0 16px;
}
.ug-apply-left-title em { font-style: normal; color: var(--blue-mid); }
 
.ug-apply-left-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 32px;
}
 
.ug-checklist { display: flex; flex-direction: column; gap: 14px; }
.ug-check-item { display: flex; align-items: flex-start; gap: 12px; }
 
.ug-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(79,142,247,0.12);
  border: 0.5px solid rgba(79,142,247,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
 
.ug-check-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
 
.ug-apply-left-footer {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-top: 36px;
}
 
.ug-apply-right {
  background: var(--white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}
 
/* Mobile logo — hidden on desktop */
.ug-apply-mobile-logo { display: none; }
 
.ug-apply-right-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}
 
.ug-apply-heading { font-size: 22px; font-weight: 700; color: #0a1628; letter-spacing: -0.015em; }
.ug-apply-sub { font-size: 13px; color: rgba(10,22,40,0.65); margin-top: 4px; }
 
.ug-step-dots { display: flex; gap: 6px; align-items: center; }
.ug-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.ug-dot.active { background: var(--blue); width: 22px; border-radius: 4px; }
 
/* Form elements */
.ug-form { display: flex; flex-direction: column; gap: 18px; }
.ug-field { display: flex; flex-direction: column; gap: 6px; }
.ug-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
 
.ug-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(10,22,40,0.7);
  letter-spacing: 0.02em;
}
.ug-label span { color: var(--blue); }
 
.ug-input,
.ug-select {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 0.5px solid var(--border-med);
  border-radius: var(--radius-md);
  color: #0a1628;
  -webkit-text-fill-color: #0a1628;
  background: var(--white);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  opacity: 1;
}
.ug-input:focus,
.ug-select:focus { border-color: var(--blue); }
.ug-input::placeholder { color: var(--text-faint); }
 
.ug-select-wrap { position: relative; }
.ug-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  font-size: 11px;
}
 
/* Capital options — vertical stack on all screens */
.ug-radio-group { display: flex; flex-direction: column; gap: 10px; }
 
.ug-radio-opt {
  width: 100%;
  border: 0.5px solid var(--border-med);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.ug-radio-opt:hover { border-color: rgba(26,79,214,0.3); }
.ug-radio-opt.selected { border-color: var(--blue); background: var(--blue-light); }
 
.ug-radio-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-med);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ug-radio-opt.selected .ug-radio-circle { border-color: var(--blue); }
 
.ug-radio-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: none;
}
.ug-radio-opt.selected .ug-radio-inner { display: block; }
 
.ug-radio-text { font-size: 12px; color: var(--text); }
.ug-radio-opt.selected .ug-radio-text { color: var(--blue); font-weight: 500; }
 
.ug-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 0.5px solid rgba(26,79,214,0.1);
  cursor: pointer;
}
 
.ug-disc-check {
  width: 16px;
  height: 16px;
  border: 0.5px solid var(--border-med);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.ug-disc-check.checked { background: var(--blue); border-color: var(--blue); }
 
.ug-disc-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
 
.ug-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
 
.ug-form-note {
  font-size: 11px;
  color: var(--text-faint);
  max-width: 180px;
  line-height: 1.5;
  text-align: right;
}
 
/* ============================================================
   RESPONSIVE — MOBILE (max-width: 900px)
   ============================================================ */
@media (max-width: 900px) {
 
  /* Root */
  :root { --pad-x: 20px; }
 
  /* Nav — centered logo, no links, no CTA button */
  .ug-nav-inner { justify-content: center; }
  body.ugofx-page { padding-top: 20px; }
  .ug-nav-links { display: none !important; }
  .ug-logo-img img { height: 76px; }
 
  /* Hero */
  .ug-hero { padding-top: 40px; }
  .ug-hero h1 { font-size: 30px; line-height: 1.1; }
  .ug-h1-line2 { display: block; font-size: 28px; margin-top: 4px; line-height: 1.1; }
  .ug-hero h1 em { font-size: 22px; margin-top: 4px; }
  .ug-hero-sub { white-space: normal; font-size: 15px; text-align: justify; }
 
  /* Hero actions */
  .ug-hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ug-btn-lg { width: 100%; text-align: center; padding: 18px 32px; font-size: 16px; font-weight: 600; }
  .ug-btn-ghost { width: 100%; text-align: center; border: 1.5px solid rgba(10,22,40,0.3); color: rgba(10,22,40,0.7); }
  .ug-price-note { font-size: 16px; display: block; margin-left: 0; margin-top: 4px; text-align: center; width: 100%; }
  .ug-price-note strong { font-weight: 600; color: var(--text); }
 
  /* Stats */
  .ug-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ug-stat:first-child { padding-left: 32px; }
  .ug-stat { border-right: none; border-bottom: 0.5px solid var(--border); }
  .ug-stat:nth-child(odd) { border-right: 0.5px solid var(--border); }
 
  /* Section titles */
  .ug-section-title { font-size: 24px; white-space: normal; }
  .ug-section-sub { white-space: normal; text-align: justify; } .ug-how-body { text-align: justify; }
  .ug-pipe-desktop { display: none !important; }
  body.ugofx-page br.ug-mobile-break { display: block !important; }
 
  /* Performance cards */
  .ug-perf-cards { grid-template-columns: 1fr; }
 
  /* How it works */
  .ug-how-grid { grid-template-columns: 1fr; }
  .ug-how-card { border: 1.5px solid transparent; }
  .ug-how-card:hover { border-color: var(--blue); }
 
  /* CTA */
  .ug-cta { padding: 48px 28px; }
  .ug-cta h2 { font-size: 28px; }
  .ug-cta-price { font-size: 40px; }
  .ug-cta-form { flex-direction: column; align-items: center; }
  .ug-cta-form .ug-btn-primary { width: 100%; padding: 18px 32px; font-size: 16px; font-weight: 600; }
  .ug-cta-input { display: none !important; }
 
  /* Footer */
  .ug-footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .ug-footer-disc { text-align: center; }
  .ug-footer-co { text-align: center; }
 
  /* Apply page */
  .ug-apply-panel { grid-template-columns: 1fr; }
  .ug-apply-left { display: none; }
  .ug-apply-mobile-logo {
    display: flex !important;
    justify-content: center;
    padding-top: 8px;
    margin-bottom: 8px;
  }
  .ug-apply-mobile-logo img { height: 76px; width: auto; }
  .ug-field-row { grid-template-columns: 1fr; gap: 18px; }
  .ug-select { padding: 16px 14px; min-height: 52px; }
}
 