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

:root {
  --bg: #05060a;
  --bg-alt: #0b0d13;
  --card: #11131b;
  --accent: #5c7cfa;
  --accent-soft: rgba(92, 124, 250, 0.15);
  --accent-2: #ffb84d;
  --text: #f7f7ff;
  --muted: #a2a7c3;
  --border: #1d2130;
  --danger: #ff5c7a;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.65);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #13162a 0, var(--bg) 42%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.alt-body {
  background: radial-gradient(circle at top, #15182c 0, #05060a 65%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 10, 0.92),
    rgba(5, 6, 10, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: 0.2s ease;
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background-image: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05060a;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: 48px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: flex-start;
}

.hero-compact {
  padding: 32px 0 10px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 40px);
  margin-bottom: 14px;
}

.hero p {
  color: var(--muted);
  line-height: 1.5;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.hero-highlights li::before {
  content: "•";
  margin-right: 5px;
  color: var(--accent-2);
}

.hero-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.hero-subtext {
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(circle at top, #1b2138 0, #080a12 55%);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card-title {
  margin: 0 0 8px;
  font-size: 15px;
}

.tradingview-note {
  font-size: 11px;
  margin-top: 6px;
  color: var(--muted);
}

.latest-signal {
  margin-top: 18px;
  text-align: center;
}

.latest-signal-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.section {
  padding: 40px 0;
}

.section-alt {
  background: radial-gradient(circle at top, #111422 0, #05060a 65%);
}

.section-subtitle {
  color: var(--muted);
  max-width: 620px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
}

.trust-box {
  background: rgba(9, 11, 20, 0.95);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--border);
}

.trust-box h3 {
  margin-top: 0;
}

.trust-box ul {
  padding-left: 18px;
  margin: 10px 0 16px;
  color: var(--muted);
}

.ratings-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rating-pill {
  flex: 1 1 120px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
  color: var(--accent-2);
  margin: 0 6px;
}

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow-soft);
}

video {
  width: 100%;
  display: block;
}

.achievements-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}

.achievement-card {
  background: rgba(9, 11, 20, 0.96);
  border-radius: var(--radius-md);
  padding: 12px 12px 14px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.65);
  font-size: 13px;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.service-card {
  background: rgba(7, 9, 16, 0.95);
  border-radius: var(--radius-md);
  padding: 16px 16px 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 15px;
}

.service-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: flex-start;
}

.book-sidebar {
  position: sticky;
  top: 88px;
}

.chapter-list {
  list-style: none;
  padding: 0;
  margin-top: 14px;
}

.chapter-list li {
  margin-bottom: 8px;
}

.chapter-list a {
  font-size: 14px;
  color: var(--muted);
}

.chapter-list a:hover {
  color: var(--accent-2);
}

.book-viewer {
  max-height: 560px;
  overflow-y: auto;
  padding-right: 6px;
}

.book-chapter {
  margin-bottom: 24px;
}

.book-chapter h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.book-pages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-pages img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

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

.plan-card {
  background: rgba(9, 11, 20, 0.98);
  border-radius: var(--radius-lg);
  padding: 18px 16px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.7);
  position: relative;
}

.plan-featured {
  border-color: var(--accent-soft);
  box-shadow: 0 26px 45px rgba(17, 24, 56, 0.75);
  background: radial-gradient(circle at top, #1c2340 0, #05060a 55%);
}

.plan-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  color: var(--muted);
}

.plan-price {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 10px;
}

.plan-tag {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
}

.plan-tag-alt {
  background: rgba(255, 92, 122, 0.18);
  color: var(--danger);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.plan-features li {
  margin-bottom: 6px;
}

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

.signal-card {
  background: rgba(9, 11, 20, 0.98);
  border-radius: var(--radius-md);
  padding: 14px 14px 16px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.7);
  font-size: 13px;
}

.signal-card h3 {
  margin-top: 0;
  margin-bottom: 4px;
}

.signal-meta {
  color: var(--muted);
  font-size: 12px;
}

.signal-details {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 30px;
  background: rgba(2, 3, 6, 0.96);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.2fr;
  gap: 18px;
  padding: 18px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-links a {
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 8px 0 12px;
  font-size: 11px;
  color: #70748e;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-col,
  .book-layout,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-sidebar {
    position: static;
  }

  .nav {
    display: none;
  }

  .header-inner {
    gap: 12px;
  }
}



/* ===== Premium Add-ons ===== */
.logo { display:flex; align-items:center; gap:10px; }
.logo-img{ width:38px; height:38px; object-fit:contain; border-radius:10px; background:#0f1320; padding:6px; border:1px solid var(--border); }

.header.scrolled{ backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.06); }

/* Scroll reveal */
[data-animate]{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0ms);
}
.in-view{ opacity:1 !important; transform:none !important; }

/* Video */
.video-wrapper{ position:relative; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border); background:#0b0f1a; }
.video-wrapper video{ width:100%; height:auto; display:block; }
.video-controls{
  position:absolute; left:14px; bottom:14px;
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  background: rgba(8,10,16,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
}
.vbtn{
  width:42px; height:42px; border-radius: 12px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
  font-size:18px;
}
.vbtn:hover{ transform: translateY(-1px); }
.video-hint{ font-size:12px; opacity:.85; }

/* Ratings */
.ratings-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top: 16px;
}
.rating-card{
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  padding:14px;
  background: rgba(255,255,255,0.03);
}
.rating-top{ display:flex; align-items:center; gap:10px; font-weight:700; }
.rating-top img{ width:26px; height:26px; object-fit:contain; }
.rating-bottom{ margin-top:10px; display:flex; align-items:center; gap:10px; }
@media (max-width: 820px){
  .ratings-grid{ grid-template-columns:1fr; }
}

/* Carousel */
.carousel{
  position:relative;
  margin-top: 18px;
}
.carousel-track{
  display:flex;
  gap:14px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding: 6px 48px;
}
.carousel-track::-webkit-scrollbar{ display:none; }
.media-card{
  flex: 0 0 auto;
  width: 320px;
  border-radius: var(--radius-lg);
  overflow:hidden;
  scroll-snap-align:center;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.media-card img{ width:100%; height: 220px; object-fit:cover; display:block; }

.carousel-btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:40px; height:40px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,0.16);
  background: rgba(10,12,20,0.65);
  cursor:pointer;
  z-index:2;
}
.carousel-btn.prev{ left:8px; }
.carousel-btn.next{ right:8px; }
.carousel-btn:hover{ transform: translateY(-50%) scale(1.03); }

.review-card{
  flex: 0 0 auto;
  width: 340px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.03);
  scroll-snap-align:center;
}
.review-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.badge{
  font-size:12px; padding:4px 8px; border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}
.review-card p{ margin:10px 0 0; opacity:.92; }

/* Plan hover */
.plan-card:hover{
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.18);
}
.plan-card:hover .btn{ transform: translateY(-1px); }

/* Back to top */
.back-to-top{
  position:fixed;
  right:16px;
  bottom:16px;
  width:46px; height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(10,12,20,0.65);
  cursor:pointer;
  display:none;
  z-index:20;
}
.back-to-top.show{ display:block; }
