@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;800&family=Tenor+Sans&display=swap');

:root {
  /* Design Tokens */
  --color-pearl: #f8f8f8;
  --color-dark: #0f1219;
  --color-dark-muted: #1e2330;
  
  --color-mint-blue: #a4f4e1;
  --color-lilac: #d7bbef;
  --color-neon-lime: #ccff00;
  --color-neon-hover: #b3ec00;
  
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-shadow: rgba(31, 38, 135, 0.04);
  
  --text-primary: #121620;
  --text-muted: #4e5564;
  --text-light: #ffffff;
  
  --font-headings: 'Syne', sans-serif;
  --font-body: 'Tenor Sans', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  background-color: var(--color-pearl);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Surrealist Floating Liquid Blobs */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  mix-blend-mode: multiply;
  animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
  background-color: var(--color-mint-blue);
  width: 45vw;
  height: 45vw;
  top: -10vw;
  left: -5vw;
  animation-duration: 25s;
}

.blob-2 {
  background-color: var(--color-lilac);
  width: 50vw;
  height: 50vw;
  bottom: -15vw;
  right: -5vw;
  animation-duration: 30s;
  animation-delay: -5s;
}

.blob-3 {
  background-color: rgba(204, 255, 0, 0.15); /* Soft neon-lime tint */
  width: 35vw;
  height: 35vw;
  top: 40%;
  left: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  50% {
    transform: translate(4vw, -6vw) scale(1.1) rotate(180deg);
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 60%;
  }
  100% {
    transform: translate(-2vw, 3vw) scale(0.9) rotate(360deg);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px var(--glass-shadow);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: normal;
  margin-left: 0.25rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-dark);
  transition: var(--transition-smooth);
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--color-neon-lime);
  color: var(--color-dark) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(204, 255, 0, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-color: var(--color-neon-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 255, 0, 0.5);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

/* Layout Main Grid */
main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Homepage Hero / Banner Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.hero-content h1 {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-banner-container {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid var(--glass-border);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Trust Disclosure Banner */
.affiliate-top-bar {
  background: rgba(215, 187, 239, 0.25); /* Lilac tint */
  border-left: 4px solid var(--color-lilac);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  backdrop-filter: blur(8px);
}

.affiliate-top-bar a {
  color: var(--text-primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Section Headings */
h1 {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

h2 {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-dark);
}

h3 {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  margin-bottom: 2.5rem;
}

/* Buttons & Links */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-headings);
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background-color: var(--color-neon-lime);
  color: var(--color-dark);
  box-shadow: 0 4px 14px rgba(204, 255, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-neon-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 255, 0, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn-secondary:hover {
  background: rgba(15, 18, 25, 0.05);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

/* Feature Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}

/* Card Component */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--glass-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(164, 244, 225, 0.15);
  border-color: var(--color-mint-blue);
}

.card h3 {
  margin-top: 0;
}

.card-cta {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
}

.card-cta:hover {
  color: var(--text-muted);
}

/* BLUF Box (Bottom Line Up Front) / Definition block */
.bluf-box {
  background: linear-gradient(135deg, rgba(164, 244, 225, 0.25) 0%, rgba(215, 187, 239, 0.25) 100%);
  border: 1.5px solid var(--glass-border);
  border-left: 6px solid var(--color-mint-blue);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}

.bluf-title {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.bluf-content {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Lists and Lists items */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

th {
  background: rgba(15, 18, 25, 0.04);
  font-family: var(--font-headings);
  font-weight: 800;
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

tr:last-child td {
  border-bottom: none;
}

/* Details/Summary FAQ Accordion */
details {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

details[open] {
  border-color: var(--color-lilac);
}

summary {
  font-family: var(--font-headings);
  font-weight: 800;
  cursor: pointer;
  outline: none;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: normal;
  transition: var(--transition-smooth);
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Article Byline & Author box */
.author-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.author-link {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 600;
}

.author-link:hover {
  text-decoration: underline;
}

.author-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 4rem;
}

.author-info h4 {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.author-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.author-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Footer styles */
footer {
  background-color: var(--color-dark);
  color: var(--text-light);
  padding: 4rem 2rem 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--color-mint-blue);
  letter-spacing: 0.5px;
}

.footer-col p {
  color: #a0a6b5;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin-left: 0;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #a0a6b5;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--color-neon-lime);
}

.footer-disclaimers {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #7b8191;
  text-align: center;
  line-height: 1.6;
}

.footer-disclaimers a {
  color: #a0a6b5;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-pearl);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }
  
  nav ul.active {
    display: flex;
  }
}
