/* FunnelTier - Premium Affiliate Review Blog
   Author: FunnelTier Team
   Theme: Dark glassmorphism with violet/cyan gradients
*/

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0b1e;
  color: #e4e6f1;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Animated gradient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(6, 182, 212, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(236, 72, 153, 0.12), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #a5b4fc; text-decoration: none; transition: color .2s ease; }
a:hover { color: #67e8f9; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-bottom: .75rem; }
p { margin-bottom: 1rem; color: #c7cae0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 11, 30, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(124, 58, 237, .35);
}
.brand-mark::before { content: 'FT'; }

.nav-links { display: flex; gap: 1.75rem; align-items: center; list-style: none; }
.nav-links a {
  color: #c7cae0;
  font-weight: 500;
  font-size: .95rem;
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  border-radius: 2px;
}
.nav-cta {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff !important;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 6px 18px rgba(124, 58, 237, .4);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124, 58, 237, .55); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: .25rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 58, 237, .4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(124, 58, 237, .55); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e4e6f1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; transform: translateY(-2px); }

/* ============ Hero ============ */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(124, 58, 237, .12);
  border: 1px solid rgba(124, 58, 237, .35);
  border-radius: 999px;
  font-size: .85rem;
  color: #c4b5fd;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: .5; } }

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .grad {
  background: linear-gradient(135deg, #a78bfa 0%, #67e8f9 50%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #c7cae0;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 3.5rem auto 0;
}
.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label { font-size: .85rem; color: #9ca3b8; margin-top: .35rem; }

/* ============ Sections ============ */
.section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #a78bfa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .75rem;
}
.section-head p { max-width: 640px; margin: 0 auto; }

/* ============ Cards Grid ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, .08), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, .35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(6, 182, 212, .25));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Review Card */
.review-card .rc-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; gap: 1rem; }
.review-card .rc-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #fff;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 1.4rem;
  color: #0a0b1e;
  flex-shrink: 0;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .35);
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  color: #fcd34d;
}
.rc-title { font-size: 1.25rem; margin-bottom: .35rem; }
.rc-cat { font-size: .8rem; color: #9ca3b8; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .85rem; }
.rc-desc { font-size: .95rem; color: #c7cae0; margin-bottom: 1.25rem; }
.rc-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rc-price { font-weight: 700; color: #fff; }
.rc-price span { font-size: .8rem; color: #9ca3b8; font-weight: 400; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .9rem;
  color: #a5b4fc;
}
.read-more:hover { color: #67e8f9; transform: translateX(3px); }

/* ============ Comparison Table ============ */
.table-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow-x: auto;
  backdrop-filter: blur(10px);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.compare-table th {
  background: rgba(124, 58, 237, .08);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.badge-best {
  display: inline-block;
  padding: .2rem .55rem;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
  margin-left: .35rem;
  vertical-align: middle;
}

/* ============ Features / Why ============ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature { padding: 1.5rem; }
.feature h3 { font-size: 1.1rem; }

/* ============ Newsletter ============ */
.newsletter {
  background: linear-gradient(135deg, rgba(124, 58, 237, .15), rgba(6, 182, 212, .12));
  border: 1px solid rgba(124, 58, 237, .25);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .4), transparent, rgba(6, 182, 212, .3));
  border-radius: 24px;
  z-index: -1;
  filter: blur(20px);
  opacity: .5;
}
.news-form {
  display: flex;
  gap: .5rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
  flex-wrap: wrap;
}
.news-form input {
  flex: 1;
  min-width: 200px;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(10, 11, 30, .6);
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
}
.news-form input:focus { outline: 2px solid #7c3aed; outline-offset: 2px; }

/* ============ Article / Review Detail ============ */
.article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}
.article h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.article h3 { margin-top: 2rem; }
.article p, .article li { color: #c7cae0; font-size: 1.02rem; }
.article ul, .article ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article li { margin-bottom: .5rem; }
.article blockquote {
  border-left: 3px solid #7c3aed;
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(124, 58, 237, .08);
  border-radius: 0 12px 12px 0;
  color: #e4e6f1;
  font-style: italic;
}
.article a { color: #67e8f9; border-bottom: 1px dashed rgba(103, 232, 249, .35); }
.article a:hover { color: #a5b4fc; }

.breadcrumb { font-size: .85rem; color: #9ca3b8; margin-bottom: 1.5rem; }
.breadcrumb a { color: #a5b4fc; }
.breadcrumb span { margin: 0 .5rem; opacity: .5; }

.review-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 2rem;
}
.review-hero .big-logo {
  width: 84px; height: 84px;
  border-radius: 18px;
  background: #fff;
  display: grid; place-items: center;
  color: #0a0b1e;
  font-weight: 900;
  font-size: 2rem;
}
.review-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: .5rem; }
.review-meta .rating { font-size: .95rem; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
.pc-box { padding: 1.5rem; border-radius: 16px; }
.pc-box.pros { background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .25); }
.pc-box.cons { background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .25); }
.pc-box h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.pc-box ul { list-style: none; padding: 0; }
.pc-box li { padding-left: 1.5rem; position: relative; margin-bottom: .6rem; font-size: .95rem; }
.pc-box.pros li::before { content: '✓'; position: absolute; left: 0; color: #34d399; font-weight: 900; }
.pc-box.cons li::before { content: '✕'; position: absolute; left: 0; color: #f87171; font-weight: 900; }

.cta-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, .18), rgba(6, 182, 212, .15));
  border: 1px solid rgba(124, 58, 237, .3);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}
.cta-box h3 { margin-bottom: .75rem; }

/* Verdict score */
.verdict {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  margin: 2rem 0;
}
.score-circle {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(#7c3aed 0deg 324deg, rgba(255,255,255,.08) 324deg);
  position: relative;
}
.score-circle::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #0a0b1e;
}
.score-circle span {
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

/* ============ FAQ ============ */
.faq-item {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #a5b4fc;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.faq-body { padding: 1.1rem 1.4rem; color: #c7cae0; }
.faq-body p { margin-bottom: 0; }

/* ============ Footer ============ */
.site-footer {
  background: rgba(5, 6, 18, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.foot-col h4 { font-size: .95rem; margin-bottom: 1rem; color: #fff; }
.foot-col ul { list-style: none; padding: 0; }
.foot-col li { margin-bottom: .55rem; }
.foot-col a { color: #9ca3b8; font-size: .92rem; }
.foot-col a:hover { color: #a5b4fc; }
.foot-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.foot-about { color: #9ca3b8; font-size: .9rem; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: #9ca3b8;
}
.disclosure {
  background: rgba(251, 191, 36, .06);
  border: 1px solid rgba(251, 191, 36, .2);
  color: #fcd34d;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: .85rem;
  margin-bottom: 2rem;
}

/* ============ Tags & misc ============ */
.tag {
  display: inline-block;
  padding: .25rem .7rem;
  background: rgba(124, 58, 237, .15);
  border: 1px solid rgba(124, 58, 237, .3);
  border-radius: 999px;
  font-size: .75rem;
  color: #c4b5fd;
  font-weight: 600;
  margin-right: .35rem;
}

.author-strip {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .9rem;
  color: #9ca3b8;
  margin-top: 1rem;
}
.author-strip .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}

/* ============ Forms ============ */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; color: #e4e6f1; font-size: .9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(10, 11, 30, .5);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid #7c3aed; outline-offset: 2px; }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 11, 30, .98);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .menu-toggle { display: block; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .review-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .article { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 3rem 0 2.5rem; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
