@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary: #0071e3;
  --primary-hover: #005bb5;
  --bg-color: #fbfbfd;
  --text-color: #1d1d1f;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --gradient-text: linear-gradient(90deg, #1d1d1f, #434344);
  --amazon-yellow: #f0c14b;
  --amazon-yellow-hover: #e2b340;
  --badge-bg: #f5f5f7;
  --badge-text: #1d1d1f;
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

.top-bar {
  background-color: var(--bg-color);
  color: var(--text-color);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 0.6rem 5%;
  font-size: 0.85rem;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.lang-switch {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
}

.lang-switch a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
}

.lang-switch a:hover {
  text-decoration: underline;
}

.lang-switch .active {
  color: var(--primary);
  font-weight: 700;
  pointer-events: none;
}

/* Header */
header {
  padding: 1.5rem 5%;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
}

header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  padding: 8rem 5% 4rem;
  text-align: center;
  background: radial-gradient(circle at center top, #ffffff 0%, var(--bg-color) 100%);
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero p {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #86868b;
}

/* Sections */
section {
  padding: 4rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-color);
}

/* Minimalist Cards */
.tv-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
}

.tv-card:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.tv-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
}

.tv-card .brand-badge {
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.advantages-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.advantages-list li {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 2rem;
  font-size: 1.15rem;
  color: #515154;
  font-weight: 400;
}

.advantages-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Amazon Button */
.amazon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--amazon-yellow);
  color: #111;
  font-weight: 500;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 980px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 320px;
  border: 1px solid rgba(0,0,0,0.1);
}

.amazon-btn:hover {
  background-color: var(--amazon-yellow-hover);
}

.amazon-btn svg {
  width: 22px;
  height: 22px;
}

.ad-notice {
  font-size: 0.75rem;
  color: #86868b;
  text-align: center;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 320px;
  display: block;
}

/* Footer & Legal */
footer {
  background-color: #f5f5f7;
  padding: 4rem 5% 2rem;
  text-align: center;
  margin-top: 5rem;
  border-top: 1px solid var(--border);
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.legal-links a {
  color: #515154;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
}

.legal-links a:hover {
  color: var(--text-color);
  text-decoration: underline;
}

.copyright {
  color: #86868b;
  font-size: 0.8rem;
}

/* Legal Pages Content */
.legal-content {
  max-width: 800px;
  margin: 4rem auto 4rem;
  padding: 0 5%;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  padding: 3rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-color);
}

.legal-content p, .legal-content li {
  color: #515154;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero { padding-top: 5rem; }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.2rem; }
  .tv-card { padding: 2rem; }
  .tv-card h2 { font-size: 1.8rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .amazon-btn { max-width: 100%; }
}


/* --- TEXT LOGO STYLES --- */
a.logo {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text-color); /* Fallback for accessibility */
    text-decoration: none !important;
    display: inline-block !important;
    transition: transform 0.3s ease, filter 0.3s ease;
    border: none !important;
    line-height: 1.3;
    padding: 0.1em;
}
a.logo:hover {
    transform: scale(1.03);
    filter: brightness(1.2);
}
/* ------------------------ */


/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    /* Prevent hiding the nav links, show them stacked or wrapped */
    .nav-links, .nav-content .nav-links {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px !important;
        padding-top: 15px;
        width: 100%;
        margin-top: 10px;
    }
    
    /* Make headers flexible */
    .navbar, header.navbar, header, .top-bar, .nav-content {
        flex-direction: column !important;
        height: auto !important;
        text-align: center;
        padding: 15px !important;
    }
    
    /* Center the language switch */
    .lang-switch {
        margin: 10px auto !important;
        border-left: none !important;
        padding-left: 0 !important;
        justify-content: center;
        width: 100%;
    }
    
    /* Ensure the logo is centered */
    a.logo {
        margin: 0 auto !important;
    }
    
    /* Scale down large typography */
    h1, .hero h1 {
        font-size: 2.2rem !important;
    }
    h2, .hero h2 {
        font-size: 1.8rem !important;
    }
    
    /* Make cards fit screen */
    .tv-card, .feature-card, .step, .legal-content {
        padding: 1.5rem !important;
        margin: 1rem auto !important;
    }
    
    /* Ensure buttons fit */
    .amazon-btn, .btn-primary, .btn-large {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
        padding: 1rem !important;
    }
    
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden !important;
    }
    
    /* Fix hero visual overlaps */
    .hero, .hero-content {
        padding-top: 2rem !important;
        gap: 2rem !important;
    }
    .hero-visual .glass-card {
        width: 100% !important;
        max-width: 300px;
        height: auto;
        padding: 2rem;
    }
}
/* -------------------------- */


/* --- COOKIE BANNER STYLES --- */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    gap: 20px;
}
#cookie-banner * {
    box-sizing: border-box;
}
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ddd;
    text-align: left;
}
.cookie-link {
    color: #BF953F;
    text-decoration: underline;
    font-weight: 500;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}
.cookie-btn-accept {
    background-color: #BF953F;
    color: #ffffff;
}
.cookie-btn-accept:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}
.cookie-btn-decline {
    background-color: transparent;
    color: #aaa;
    border: 1px solid #555;
}
.cookie-btn-decline:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        padding: 20px 15px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: stretch;
        margin-top: 5px;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 12px;
    }
}
/* -------------------------- */
