
:root {
  --bg-main: #060317;
  --bg-gradient: radial-gradient(circle at top, #ff4ecd33 0, transparent 55%), radial-gradient(circle at bottom, #7b5cff33 0, transparent 55%);
  --card-bg: rgba(20, 12, 55, 0.95);
  --card-border: rgba(255, 255, 255, 0.08);
  --accent-purple: #7b5cff;
  --accent-pink: #ff4ecd;
  --accent-cyan: #4ef3ff;
  --text-main: #f8f4ff;
  --text-muted: #a6a0cf;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* HEADER / HERO -------------------------------------------------------- */

header {
  padding: 22px 0 10px;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 40%;
  background: conic-gradient(from 210deg, #ff4ecd, #7b5cff, #4ef3ff, #ff4ecd);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 78, 205, 0.6);
  font-size: 0.78rem;
  color: #050111;
  font-weight: 700;
}

.badge {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(90deg, #ff4ecd22, #7b5cff22);
  color: var(--text-muted);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ef3ff;
  box-shadow: 0 0 8px #4ef3ff;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero-title span.highlight {
  background: linear-gradient(90deg, #ff4ecd, #7b5cff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 0.98rem;
  max-width: 520px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.hero-pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(10, 5, 40, 0.9);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.btn-primary {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at top left, #ff4ecd, #7b5cff);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.btn-ghost {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-main);
  transform: translateY(-1px);
}

.hero-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-footnote span {
  color: var(--accent-cyan);
}

.hero-panel {
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  background: radial-gradient(circle at top left, #ff4ecd22, transparent 50%),
              radial-gradient(circle at bottom right, #7b5cff22, transparent 52%),
              rgba(7, 3, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -60%;
  background-image: radial-gradient(circle at 20% 0, #ff4ecd22 0, transparent 60%),
                    radial-gradient(circle at 70% 120%, #4ef3ff22 0, transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
}

.panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.panel-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.panel-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tool-pill {
  border-radius: var(--radius-pill);
  padding: 6px 11px;
  font-size: 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 3, 30, 0.9);
}

.tool-pill span {
  opacity: 0.7;
  font-size: 0.7rem;
}

.rating-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rating-stars {
  color: #ffd86b;
}

.tiny-text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* SECTIONS / CARDS ----------------------------------------------------- */

.section {
  padding: 24px 0;
}

.section-header {
  margin-bottom: 14px;
}

.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, #ff4ecd1f 0, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-badge {
  font-size: 0.75rem;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.card-badge span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tag-pill {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 78, 205, 0.14);
  color: #ffbdf2;
}

.card-title {
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.card-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-list {
  list-style: none;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.card-list li::before {
  content: "✦";
  font-size: 0.74rem;
  margin-top: 2px;
  color: var(--accent-pink);
}

.price-chip {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.price-chip span {
  color: var(--accent-cyan);
  font-weight: 600;
}

.card-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-cta {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #ff4ecd, #7b5cff);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.card-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
}

.cta-secondary {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* TABLE --------------------------------------------------------------- */

.table-wrapper {
  margin-top: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  overflow: hidden;
  background: rgba(10, 6, 40, 0.95);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

th {
  background: linear-gradient(90deg, #190a3c, #260c4f);
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.01);
}

tbody tr:nth-child(even) {
  background: transparent;
}

.badge-rec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 78, 205, 0.18);
  color: #ffd6f7;
}

.star {
  color: #ffd86b;
  font-size: 0.75rem;
}

/* FOOTER & MISC ------------------------------------------------------- */

.disclosure {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
}

footer {
  padding: 22px 0 26px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

footer a {
  color: var(--accent-cyan);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE ---------------------------------------------------------- */

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

  .hero-panel {
    order: -1;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .logo-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-bottom: 22px;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  th,
  td {
    padding: 9px 10px;
  }
}

/* === MOBILE OPTIMISATIONS === */

/* Make all images scale nicely on small screens */
img {
max-width: 100%;
height: auto;
display: block;
}

/* Slightly bigger base font size on mobile for readability */
@media (max-width: 640px) {
body {
font-size: 16px;
}

.hero {
padding-top: 24px;
padding-bottom: 24px;
}

.hero-title {
font-size: 1.9rem;
}

.hero-text {
font-size: 0.96rem;
}

.container {
width: 94%;
}

/* Make buttons full-width-ish for easier tapping */
.hero-cta-row {
flex-direction: column;
align-items: stretch;
}

.btn-primary,
.btn-ghost {
justify-content: center;
width: 100%;
text-align: center;
}

/* Cards: one per row with more breathing room */
.card-grid {
grid-template-columns: minmax(0, 1fr);
gap: 16px;
}

.card {
padding: 14px 14px 16px;
}

/* Table: allow horizontal scroll instead of squashing text */
.table-wrapper {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

.table-wrapper table {
min-width: 640px; /* keeps columns readable, user can scroll sideways */
}

/* Reduce padding in footer and section headers for less vertical scrolling */
.section {
padding-top: 18px;
padding-bottom: 18px;
}

footer {
padding-top: 16px;
padding-bottom: 18px;
}
}

/* Medium screens (tablets): tighten layout slightly */
@media (min-width: 641px) and (max-width: 900px) {
.container {
width: 94%;
}

.card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

/* CARD IMAGES (equal squares) ---------------------------------------- */

.card-image {
  margin: 10px 0 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at top, #ff4ecd22 0, transparent 60%);
}

.card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* RANK BADGE & OVERALL RIBBON ---------------------------------------- */

.card-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  background: radial-gradient(circle at 30% 0, #4ef3ff, #7b5cff);
  color: #050318;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.65);
}

.card-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(90deg, #facc15, #eab308, #f97316);
  color: #1f2937;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
}

/* STAR RATING -------------------------------------------------------- */

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  margin: 6px 0 8px;
}

.card-rating .stars {
  font-size: 0.88rem;
  letter-spacing: 1px;
  color: #facc15;
}

.card-rating .rating-score {
  color: var(--text-muted);
}

/* PROS / CONS LAYOUT ------------------------------------------------- */

.section-deep-dive {
  padding-top: 30px;
  padding-bottom: 26px;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: rgba(18, 10, 60, 0.95);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.pros-cons h3 {
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.pros-cons ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pros-cons li {
  margin-bottom: 6px;
}

.tag-positive {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
  margin-right: 4px;
}

/* FAQ GRID CARDS ----------------------------------------------------- */

.faq {
  padding-top: 30px;
  padding-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.faq-item {
  background: rgba(20, 12, 60, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 13px;
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  margin: 0 0 4px;
  font-size: 0.92rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .pros-cons {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* INLINE TITLE + RATING ---------------------------------------------- */

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.card-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
}

.card-rating-inline .stars {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #facc15;
}

.card-rating-inline .rating-score {
  color: var(--text-muted);
  font-weight: 500;
}

/* GOLD MEDAL FOR OVERALL PICK ---------------------------------------- */

.card {
  position: relative;
}

.card-ribbon {
  position: absolute;
  top: -14px;
  right: -10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #fef3c7, #facc15, #eab308);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #78350f;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.75);
}

.card-ribbon::before {
  content: "🏅";
  font-size: 1.1rem;
}

/* On small screens, keep medal visible but not huge */
@media (max-width: 768px) {
  .card-ribbon {
    top: -10px;
    right: -6px;
    width: 30px;
    height: 30px;
  }
}



/* === REFINE TITLE + RATING ALIGNMENT ================================ */

.card-title-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.card-title-row .card-title {
  margin: 0;
}

.card-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
}

.card-rating-inline .stars {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #facc15;
}

.card-rating-inline .rating-score {
  color: var(--text-muted);
  font-weight: 500;
}

/* === CORNER GOLD BADGE FOR OVERALL PICK ============================ */

.card {
  position: relative;
}

.card-ribbon {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, #facc15, #eab308, #f97316);
  font-size: 0.72rem;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

/* Keep it readable on smaller screens */
@media (max-width: 768px) {
  .card-ribbon {
    top: 8px;
    right: 10px;
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}



/* Adjust title + rating alignment: keep rating next to name  */
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 6px;
}

/* Refined gold corner badge for overall pick (Sintra) */
.card-ribbon {
  float: right;
  margin: 4px 4px 0 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fef3c7, #facc15, #eab308);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78350f;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .card-ribbon {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
}



/* Simple gold "Overall pick" badge in top-right, no overlay on text */
.card-ribbon {
  float: right;
  margin: 4px 4px 0 0;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #facc15;
  background: rgba(15, 23, 42, 0.85);
  color: #facc15;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}



/* Keep title + rating tight, with gold Overall Pick tag for Sintra */
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 6px;
}

.card-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-rating-inline .stars {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #facc15;
}

.card-rating-inline .rating-score {
  color: var(--text-muted);
  font-weight: 500;
}

.overall-tag {
  background: #facc15;
  color: #1f2937;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}



/* Override: solid gold box for "Overall Pick" next to Sintra rating */
.overall-tag {
  background: #facc15;
  color: #111827;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 6px;
  white-space: nowrap;
}



/* Ensure all cards have aligned CTA buttons at the bottom */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-cta-row {
  margin-top: auto;
  padding-top: 10px;
}

