/* FyndLink.com – Affiliate Network Landing */
:root {
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-primary-light: #14b8a6;
  --color-dark: #0f172a;
  --color-dark-soft: #1e293b;
  --color-text: #334155;
  --color-text-muted: #64748b;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-top: 0; }
h3 { font-size: 1.25rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-dark);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 42px;
  width: auto;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-main a {
  padding: 0.5rem 0.75rem;
  color: var(--color-dark);
  font-weight: 500;
  border-radius: var(--radius);
}

.nav-main a:hover {
  color: var(--color-primary);
  background: rgba(13, 148, 136, 0.08);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

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

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: white;
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--color-dark);
}

.btn-ghost:hover {
  background: var(--color-border);
  color: var(--color-dark);
}

/* Main content area */
.main-content {
  min-height: 60vh;
}

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

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

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 42ch;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-visual {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  width: 100%;
  object-fit: cover;
}

/* Section blocks */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--color-white);
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head .lead {
  color: var(--color-text-muted);
  max-width: 50ch;
  margin: 0.5rem auto 0;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.cta-block h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.cta-block p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.cta-block .btn {
  background: white;
  color: var(--color-primary-dark);
}

.cta-block .btn:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #94a3b8;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

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

.footer-grid a {
  color: #94a3b8;
  font-size: 0.9375rem;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  text-align: center;
}

.footer-bottom a {
  color: #94a3b8;
}

/* Legal pages */
.legal-page {
  padding: 2rem 0 4rem;
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .updated {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

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

.legal-page h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p, .legal-page ul {
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
}

/* Contact form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.captcha-question {
  font-weight: 600;
  color: var(--color-dark);
  padding: 0.5rem 0.75rem;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius);
}

.captcha-box input {
  max-width: 80px;
}

.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-success {
  padding: 1rem;
  background: #dcfce7;
  color: #166534;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Cookie consent banner – visible by default, hidden via JS when consent given */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-dark);
  color: #e2e8f0;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: block;
}

.cookie-consent.hidden {
  display: none;
}

.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent p {
  margin: 0;
  font-size: 0.9375rem;
  flex: 1;
  min-width: 260px;
}

.cookie-consent a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-consent .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* About page */
.about-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.about-hero-img {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer & legal logo */
.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.imprint-logo {
  margin-bottom: 1rem;
}

.imprint-logo img {
  height: 36px;
  width: auto;
}

.legal-page h2.imprint-operator {
  margin-bottom: 1.5em;
}

.about-section {
  margin-bottom: 2.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-cta .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  .hero {
    padding: 2.5rem 0 3rem;
  }
  .section {
    padding: 2.5rem 0;
  }
}
