/*
Theme Name: Tradingupandown Premium V4.1
Theme URI: https://tradingupandown.com/
Author: Tradingupandown Team
Description: Conversion-focused WordPress theme for Tradingupandown with stronger homepage structure.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 4.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tradingupandown-premium
*/

:root{
  --bg:#040816;
  --panel:rgba(255,255,255,.05);
  --panel-2:rgba(255,255,255,.08);
  --line:rgba(255,255,255,.10);
  --text:#fff;
  --muted:rgba(255,255,255,.68);
  --muted-2:rgba(255,255,255,.48);
  --gold:#FFC107;
  --gold-soft:rgba(255,193,7,.10);
  --violet:#7C3AED;
  --green:#22C55E;
  --red:#EF4444;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.tuad-body{
  margin:0;
  font-family:"Inter",sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}
img{max-width:100%;height:auto}
a{text-decoration:none}
.container{width:min(1200px,calc(100% - 32px));margin:0 auto}
.bg-orb{position:fixed;border-radius:999px;filter:blur(85px);pointer-events:none;z-index:-1}
.orb-a{width:320px;height:320px;top:-60px;left:-80px;background:rgba(124,58,237,.30)}
.orb-b{width:420px;height:420px;top:120px;right:-140px;background:rgba(168,85,247,.18)}
.orb-c{width:360px;height:360px;bottom:60px;left:40px;background:rgba(37,99,235,.12)}

.site-header{
  position:sticky;top:0;z-index:30;
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px);
  background:rgba(4,8,22,.84)
}
.nav{
  min-height:82px;
  display:flex;align-items:center;justify-content:space-between;gap:18px
}
.brand{
  display:flex;align-items:center;gap:12px;
  color:inherit
}
.brand-logo{
  width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 0 18px rgba(255,193,7,.24))
}
.brand-text{display:flex;flex-direction:column}
.brand-title{font-size:14px;font-weight:700}
.brand-subtitle{font-size:11px;color:var(--muted-2)}
.nav-links{display:flex;gap:24px}
.nav-links a,.footer-links a{
  color:var(--muted);font-size:14px
}
.nav-links a:hover,.footer-links a:hover{color:var(--text)}
.nav-actions{display:flex;gap:12px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:0 20px;border-radius:999px;
  font-size:14px;font-weight:700;
  transition:.18s ease;border:1px solid transparent
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--gold);color:#000;box-shadow:0 0 45px rgba(255,193,7,.26)}
.btn-ghost{background:rgba(255,255,255,.04);color:#fff;border-color:var(--line)}
.btn.full{width:100%}

.hero{
  padding:86px 0 46px;
  display:grid;grid-template-columns:1.08fr .92fr;gap:54px;align-items:center
}
.eyebrow{
  display:inline-flex;padding:8px 14px;border-radius:999px;
  background:var(--gold-soft);border:1px solid rgba(255,193,7,.22);
  color:#FFE082;font-size:12px;font-weight:700
}
.hero h1{
  margin:18px 0 0;
  font-size:clamp(42px,6vw,72px);
  line-height:1.01;letter-spacing:-.045em;max-width:780px
}
.hero p{
  margin:20px 0 0;max-width:650px;
  color:var(--muted);font-size:18px;line-height:1.72
}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hero-actions.center{justify-content:center}

.hero-metrics,.conversion-grid,.results-grid,.proof-grid{
  margin-top:34px;display:grid;gap:16px
}
.hero-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.conversion-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.results-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.proof-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

.metric-card,.panel-card,.feature-card,.market-card,.signal-card,.plan-card,.faq-item,.final-cta,.testimonial-card,.funnel-card,.result-card,.proof-card,.vip-card{
  border:1px solid var(--line);border-radius:26px;background:var(--panel)
}
.metric-card,.funnel-card,.result-card,.proof-card{padding:20px;background:rgba(255,255,255,.05)}
.metric-card strong,.result-card strong{display:block;font-size:24px}
.metric-card span,.result-card span{display:block;margin-top:6px;color:var(--muted-2);font-size:13px}

.panel-card{
  padding:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.03));
  box-shadow:0 20px 60px rgba(0,0,0,.34)
}
.panel-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px
}
.panel-label{
  font-size:12px;font-weight:700;color:#FFE082;text-transform:uppercase;letter-spacing:.08em
}
.panel-head h3{margin:8px 0 0;font-size:22px}
.status-pill,.chip,.result,.buy-pill,.sell-pill,.telegram-chip{
  display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:700
}
.status-pill{
  min-height:34px;padding:0 12px;font-size:12px;
  background:rgba(255,193,7,.12);color:#FFE082;border:1px solid rgba(255,193,7,.20)
}
.telegram-card{
  margin-top:18px;padding:18px;border-radius:22px;
  border:1px solid var(--line);background:rgba(7,16,33,.90)
}
.telegram-top{
  display:flex;justify-content:space-between;gap:12px;align-items:center
}
.telegram-chip{
  min-height:30px;padding:0 12px;font-size:12px;
  background:rgba(124,58,237,.16);color:#D8B4FE;border:1px solid rgba(124,58,237,.24)
}
.buy-pill,.sell-pill{
  min-height:34px;padding:0 12px;font-size:12px;
}
.buy-pill{background:rgba(34,197,94,.14);color:#A7F3D0}
.sell-pill{background:rgba(239,68,68,.14);color:#FECACA}
.telegram-card h4{margin:16px 0 0;font-size:24px}
.telegram-sub{margin:8px 0 0;color:var(--muted-2);font-size:14px}
.telegram-rows{margin-top:18px;display:grid;gap:10px}
.telegram-rows div{
  display:flex;justify-content:space-between;gap:12px;
  padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.04);color:var(--muted)
}
.telegram-rows strong{color:#fff}
.hero-note{
  margin-top:16px;padding:14px 16px;border-radius:18px;
  background:rgba(255,193,7,.08);border:1px solid rgba(255,193,7,.18);
  color:#FFE082;font-size:14px;line-height:1.7
}

.section{padding:46px 0}
.section-heading{text-align:center;max-width:780px;margin:0 auto}
.section-heading.left{text-align:left}
.section-heading h2,.final-cta h2,.vip-card h2{
  margin:0;font-size:clamp(30px,4vw,46px);line-height:1.08;letter-spacing:-.03em
}
.section-heading p,.final-cta p,.vip-card p{
  margin:14px auto 0;color:var(--muted);line-height:1.72;max-width:760px
}

.card-grid{margin-top:34px;display:grid;gap:16px}
.card-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.card-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.card-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}

.feature-card,.market-card,.signal-card,.plan-card,.testimonial-card,.vip-card{padding:24px}
.icon-dot{
  width:44px;height:44px;border-radius:16px;
  background:rgba(255,193,7,.12);border:1px solid rgba(255,193,7,.22);
  box-shadow:0 0 20px rgba(255,193,7,.08)
}
.feature-card h3,.market-card h3,.signal-card h3,.plan-card h3,.testimonial-card h3,.proof-card h3,.funnel-card h3{
  margin:16px 0 0;font-size:21px
}
.feature-card p,.market-card p,.highlight-card p,.testimonial-card p,.funnel-card p,.proof-card p{
  margin:12px 0 0;color:var(--muted);line-height:1.7
}
.chip{
  min-height:32px;padding:0 12px;font-size:12px;
  background:rgba(255,193,7,.12);color:#FFE082;border:1px solid rgba(255,193,7,.22)
}
.signal-head{
  display:flex;justify-content:space-between;align-items:center;gap:12px
}
.result{
  min-height:34px;padding:0 12px;font-size:12px;
  background:rgba(34,197,94,.14);color:#A7F3D0
}
.signal-card ul,.plan-card ul,.vip-card ul{
  margin:16px 0 0;padding-left:18px;color:var(--muted);line-height:1.9
}
.highlight-card{display:flex;flex-direction:column;justify-content:flex-start}
.price{
  margin-top:16px;font-size:38px;font-weight:800;letter-spacing:-.03em
}
.price span{font-size:14px;color:var(--muted-2);font-weight:600;margin-left:8px}
.featured{
  border-color:rgba(255,193,7,.26);
  box-shadow:0 0 0 1px rgba(255,193,7,.12),0 0 50px rgba(255,193,7,.06)
}
.testimonial-role{
  display:block;
  margin-top:8px;
  color:var(--muted-2);
  font-size:13px;
}
.funnel-card strong{
  display:block;
  margin-top:18px;
  font-size:28px;
  color:var(--gold);
}
.result-card em{
  display:inline-flex;
  margin-top:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(34,197,94,.14);
  color:#A7F3D0;
  font-style:normal;
  font-weight:700;
}
.proof-card{
  min-height:210px;
}
.vip-card{
  background:linear-gradient(90deg,rgba(124,58,237,.14),rgba(168,85,247,.08),rgba(255,193,7,.08));
  box-shadow:0 24px 70px rgba(0,0,0,.22)
}

.faq-list{margin-top:34px;display:grid;gap:14px}
.faq-item{padding:20px 22px;background:rgba(255,255,255,.04)}
.faq-item summary{cursor:pointer;font-weight:700;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item p{margin:12px 0 0;color:var(--muted);line-height:1.7}

.final-cta{
  padding:52px 24px;text-align:center;
  background:linear-gradient(90deg,rgba(124,58,237,.14),rgba(168,85,247,.08),rgba(255,193,7,.08));
  box-shadow:0 24px 70px rgba(0,0,0,.28)
}

.site-footer{
  border-top:1px solid var(--line);
  margin-top:34px;
  background:linear-gradient(180deg,rgba(3,8,20,.96),rgba(3,8,20,1))
}
.footer-inner{padding:34px 0 40px}
.footer-top{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px
}
.footer-links{display:flex;justify-content:center;gap:28px}
.footer-socials{display:flex;gap:12px}
.social-circle{
  width:42px;height:42px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;
  background:linear-gradient(180deg,#7C3AED,#A855F7);
  box-shadow:0 0 24px rgba(168,85,247,.22)
}
.footer-disclaimer{
  margin:28px 0 0;max-width:1060px;
  color:rgba(255,255,255,.48);font-size:13px;line-height:1.8
}
.footer-logo{width:40px;height:40px}
.admin-hint{
  margin:10px 0 0;
  color:var(--muted-2);
  font-size:13px;
}

.editor-wrap{padding:44px 0}
.editor-wrap .entry-content{color:var(--muted);line-height:1.8}
.editor-wrap h1,.editor-wrap h2,.editor-wrap h3,.editor-wrap h4{color:var(--text)}

@media (max-width:1100px){
  .hero,.card-grid.five,.card-grid.four,.card-grid.three,.hero-metrics,.conversion-grid,.results-grid,.proof-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:920px){
  .nav-links,.nav-actions .btn-ghost{display:none}
  .hero,.card-grid.five,.card-grid.four,.card-grid.three,.hero-metrics,.conversion-grid,.results-grid,.proof-grid{grid-template-columns:1fr}
  .hero{padding-top:56px}
  .hero p{font-size:16px}
  .footer-top{grid-template-columns:1fr;justify-items:center;text-align:center}
  .footer-links{flex-wrap:wrap;gap:18px}
  .footer-disclaimer{text-align:center}
}


/* Patch updates */
.hero h1{
  max-width: 1120px;
  font-size: clamp(40px, 5.2vw, 58px);
}

.nav-links ul,
.footer-links ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:24px;
}
.nav-links li,
.footer-links li{
  list-style:none;
  margin:0;
  padding:0;
}
.nav-links .menu,
.footer-links .menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:24px;
}

.icon-dot{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#FFC107;
  font-size:18px;
  font-weight:700;
}
.icon-glyph{
  line-height:1;
}

.vip-card{
  padding:32px;
}
.vip-card .section-heading p{
  max-width: 900px;
}


/* Polish pass */
.nav-links a,
.footer-links a{
  letter-spacing:.01em;
}

.hero{
  gap:48px;
}
.hero h1{
  text-wrap:balance;
  max-width:1180px;
  font-size:clamp(38px,4.9vw,56px);
}
.hero p{
  max-width:720px;
}

.panel-card{
  border-radius:30px;
}
.telegram-card{
  border-radius:24px;
}
.card-grid{
  gap:18px;
}
.feature-card,
.market-card,
.signal-card,
.plan-card,
.testimonial-card,
.funnel-card,
.proof-card,
.result-card{
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.feature-card:hover,
.market-card:hover,
.signal-card:hover,
.plan-card:hover,
.testimonial-card:hover,
.funnel-card:hover,
.proof-card:hover,
.result-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,193,7,.18);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.feature-card h3,
.market-card h3,
.signal-card h3,
.plan-card h3,
.testimonial-card h3,
.proof-card h3,
.funnel-card h3{
  line-height:1.18;
}
.feature-card p,
.market-card p,
.highlight-card p,
.testimonial-card p,
.funnel-card p,
.proof-card p,
.plan-card li,
.signal-card li{
  font-size:15px;
}
.final-cta h2,
.vip-card h2{
  text-wrap:balance;
}
.social-circle{
  width:40px;
  height:40px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.08);
}
.footer-socials{
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media (max-width:920px){
  .footer-socials{
    justify-content:center;
  }
  .hero h1{
    font-size:clamp(36px,9vw,48px);
  }
}


/* Real social icons */
.social-circle{
  position:relative;
  overflow:hidden;
}
.social-circle svg{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
}
.social-circle:hover{
  transform:translateY(-1px);
  box-shadow:0 0 28px rgba(168,85,247,.28);
}


/* Brand-colored real social icons */
.social-circle{
  width:42px;
  height:42px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:700;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:none;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.social-circle svg{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
}
.social-circle:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}
.social-tiktok{
  background:linear-gradient(180deg,#111111,#1f1f1f);
  box-shadow:0 0 24px rgba(255,255,255,.08);
}
.social-youtube{
  background:linear-gradient(180deg,#ff2b2b,#d90000);
  box-shadow:0 0 24px rgba(255,43,43,.22);
}
.social-instagram{
  background:linear-gradient(135deg,#f58529 0%,#dd2a7b 45%,#8134af 75%,#515bd4 100%);
  box-shadow:0 0 24px rgba(221,42,123,.24);
}
.social-x{
  background:linear-gradient(180deg,#0f0f0f,#000000);
  box-shadow:0 0 24px rgba(255,255,255,.08);
}
.social-telegram{
  background:linear-gradient(180deg,#37aee2,#229ed9);
  box-shadow:0 0 24px rgba(55,174,226,.24);
}
.social-facebook{
  background:linear-gradient(180deg,#1877f2,#0f5fd8);
  box-shadow:0 0 24px rgba(24,119,242,.24);
}
.footer-socials{
  gap:10px;
}


/* TUAD V4 polish */
.nav{
  min-height:88px;
}
.hero{
  padding:92px 0 52px;
  gap:56px;
}
.hero-copy{
  max-width: 760px;
}
.hero h1{
  text-wrap:balance;
  max-width:1240px;
  font-size:clamp(40px,4.8vw,58px);
  letter-spacing:-.04em;
}
.hero p{
  max-width:700px;
  font-size:18px;
}
.section{
  padding:52px 0;
}
.section-heading h2,
.final-cta h2,
.vip-card h2{
  text-wrap:balance;
}
.panel-card,
.final-cta,
.vip-card{
  border-radius:30px;
}
.card-grid,
.conversion-grid,
.results-grid,
.proof-grid,
.hero-metrics{
  gap:20px;
}
.feature-card,
.market-card,
.signal-card,
.plan-card,
.testimonial-card,
.funnel-card,
.result-card,
.proof-card{
  border-radius:24px;
}
.feature-card,
.market-card,
.signal-card,
.plan-card,
.testimonial-card{
  padding:26px;
}
.feature-card h3,
.market-card h3,
.signal-card h3,
.plan-card h3,
.testimonial-card h3,
.proof-card h3,
.funnel-card h3{
  font-size:22px;
}
.feature-card p,
.market-card p,
.highlight-card p,
.testimonial-card p,
.funnel-card p,
.proof-card p,
.plan-card li,
.signal-card li{
  font-size:15px;
  line-height:1.78;
}
.final-cta{
  padding:60px 28px;
}
.vip-card{
  padding:36px 30px;
}
.footer-inner{
  padding:42px 0 44px;
}
.footer-top{
  align-items:center;
}
.footer-socials-minimal{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.82);
  opacity:.82;
  transition:color .22s ease, opacity .22s ease, transform .22s ease;
}
.social-link svg{
  width:24px;
  height:24px;
  display:block;
  fill:currentColor;
}
.social-link:hover{
  color:var(--gold);
  opacity:1;
  transform:translateY(-2px);
}
.social-link.social-youtube:hover{ color:#ff3b30; }
.social-link.social-instagram:hover{ color:#f77737; }
.social-link.social-facebook:hover{ color:#1877f2; }
.social-link.social-telegram:hover{ color:#27a7e7; }
.social-link.social-tiktok:hover{ color:#ffffff; }
.social-link.social-x:hover{ color:#ffffff; }

.sticky-telegram{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:60;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:0 16px 0 14px;
  border-radius:999px;
  background:var(--gold);
  color:#000;
  box-shadow:0 12px 30px rgba(255,193,7,.28);
  font-weight:800;
  border:1px solid rgba(255,193,7,.35);
  transition:transform .18s ease, box-shadow .18s ease;
}
.sticky-telegram:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(255,193,7,.34);
}
.sticky-telegram-icon{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.sticky-telegram-icon svg{
  width:20px;
  height:20px;
  display:block;
  fill:currentColor;
}
.sticky-telegram-label{
  white-space:nowrap;
  font-size:14px;
}

@media (max-width:920px){
  .footer-socials-minimal{
    justify-content:center;
  }
  .sticky-telegram{
    right:14px;
    bottom:14px;
    min-height:50px;
    padding:0 14px 0 12px;
  }
  .sticky-telegram-label{
    font-size:13px;
  }
}


/* Screenshot-matched social tiles */
.footer-socials-screenshot{
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.social-tile{
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#0b0b0b;
  border:1px solid rgba(255,255,255,.06);
  color:#ffffff;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.social-tile svg{
  width:20px;
  height:20px;
  display:block;
  fill:currentColor;
}
.social-tile:hover{
  transform:translateY(-1px);
  background:#141414;
  border-color:rgba(255,255,255,.16);
}
@media (max-width:920px){
  .footer-socials-screenshot{
    justify-content:center;
  }
}


/* VIP section fix */
.vip-card{
  padding: 0;
  overflow: hidden;
}
.vip-inner{
  max-width: 880px;
  padding: 34px 30px 34px 30px;
}
.vip-card .section-heading.left{
  max-width: 880px;
}
.vip-card .section-heading h2{
  max-width: 760px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.08;
}
.vip-card .section-heading p{
  max-width: 820px;
  margin-left: 0;
  margin-right: 0;
}
.vip-card ul{
  max-width: 620px;
  margin-top: 22px;
}
.vip-card .hero-actions{
  margin-top: 28px;
}
@media (max-width: 920px){
  .vip-inner{
    padding: 28px 22px 28px 22px;
  }
  .vip-card .section-heading h2{
    font-size: clamp(28px, 9vw, 42px);
    max-width: 100%;
  }
  .vip-card ul,
  .vip-card .section-heading p{
    max-width: 100%;
  }
}
