/* BuyorBye.de — Static Site Styles */

:root {
  --bg: #0B0F14;
  --card: #111827;
  --accent: #00E5A8;
  --accent-alt: #00C2FF;
  --text: #F9FAFB;
  --text-secondary: #AAB2C0;
  --border: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.18);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --max-width: 1120px;
  --header-height: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--accent-alt);
}

ul, ol {
  padding-left: 1.25rem;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.375rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }

p + p,
p + ul,
p + ol,
ul + p,
ol + p {
  margin-top: 1rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 32px;
  width: auto;
  max-width: 220px;
}

.logo-link:hover {
  opacity: 0.9;
}

/* Navigation */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(0, 229, 168, 0.08);
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .main-nav a {
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--bg);
}

.btn-primary:hover {
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(0, 229, 168, 0.35);
}

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

.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-buy {
  background: rgba(0, 229, 168, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 229, 168, 0.35);
}

.badge-bye {
  background: rgba(255, 107, 107, 0.12);
  color: #FF8A8A;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.badge-category {
  background: rgba(0, 194, 255, 0.1);
  color: var(--accent-alt);
  border: 1px solid rgba(0, 194, 255, 0.25);
  text-transform: none;
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0, 229, 168, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header p {
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 640px;
}

.section-alt {
  background: rgba(17, 24, 39, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 229, 168, 0.15), rgba(0, 194, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Category cards */
.category-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.category-card .card-icon {
  margin: 0 auto 1rem;
}

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.product-image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1a2332 0%, #0f1620 50%, rgba(0, 229, 168, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.product-image-icon {
  font-size: 3rem;
  opacity: 0.6;
}

.product-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.product-card-body p {
  flex: 1;
}

.product-affiliate-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Criteria list */
.criteria-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .criteria-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .criteria-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.criteria-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.criteria-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.criteria-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.criteria-item p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Info box */
.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-box p {
  color: var(--text-secondary);
}

.info-box-accent {
  border-left-color: var(--accent-alt);
}

/* About section */
.about-text {
  color: var(--text-secondary);
  max-width: 720px;
  font-size: 1.0625rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-brand img {
  height: 28px;
  max-width: 195px;
}

.footer-nav h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 0.375rem;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Page layouts — Legal & Content */
.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero p {
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.content-page {
  padding: 2.5rem 0 4rem;
}

.content-page .container {
  max-width: 760px;
}

.content-page h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page p,
.content-page li {
  color: var(--text-secondary);
}

.content-page ul,
.content-page ol {
  margin-top: 0.75rem;
}

.content-page li + li {
  margin-top: 0.375rem;
}

.content-page a {
  word-break: break-word;
}

.legal-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: #FFD666;
}

/* Product page */
.product-page {
  padding: 2rem 0 4rem;
}

.product-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.product-hero-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #1a2332 0%, #111827 40%, rgba(0, 194, 255, 0.1) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero-image span {
  font-size: 5rem;
  opacity: 0.5;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-summary {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.product-section {
  margin-bottom: 2rem;
}

.product-section h2 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.product-section p,
.product-section li {
  color: var(--text-secondary);
}

.pros-cons {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

.pros-cons ul {
  margin-top: 0.5rem;
}

.pros h3 {
  color: var(--accent);
  font-size: 1rem;
}

.cons h3 {
  color: #FF8A8A;
  font-size: 1rem;
}

.product-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2rem;
}

.product-cta p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: var(--accent);
}

/* Contact */
.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.5rem;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
