/* ==========================================================================
   Focus pe Vedere - Black & White Modern Minimalist Theme
   Google Ads & GDPR Compliant CSS
   ========================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-dark: #0f0f11;
  --text-primary: #111111;
  --text-secondary: #4a4a4a;
  --text-muted: #71717a;
  --border-color: #e4e4e7;
  --border-dark: #000000;
  --accent-black: #000000;
  --accent-hover: #27272a;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

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

/* Layout Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 90px 0;
  }
}

/* Header & Navigation */
.site-header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--accent-black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  background: var(--accent-black);
  color: var(--bg-primary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  border-bottom-color: var(--accent-black);
  opacity: 1;
}

.btn-nav-cta {
  background-color: var(--accent-black);
  color: #ffffff !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  border-bottom: none !important;
}

.btn-nav-cta:hover {
  background-color: var(--accent-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
}

/* Banner Compliance Notice Top */
.top-notice-bar {
  background-color: var(--bg-dark);
  color: #ffffff;
  font-size: 13px;
  text-align: center;
  padding: 8px 15px;
  letter-spacing: 0.2px;
}

.top-notice-bar a {
  color: #ffffff;
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-tag {
  display: inline-block;
  border: 1px solid var(--accent-black);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-lead {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid var(--accent-black);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-black);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  opacity: 1;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-black);
}

.btn-outline:hover {
  background-color: var(--accent-black);
  color: #ffffff;
  opacity: 1;
}

.hero-image-wrapper {
  position: relative;
  border: 1px solid var(--accent-black);
  padding: 12px;
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
}

.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: grayscale(10%);
}

.hero-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}

/* Feature Grid / Cards */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.card {
  border: 1px solid var(--border-color);
  padding: 30px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--accent-black);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Story Section */
.story-block {
  border-left: 4px solid var(--accent-black);
  padding-left: 24px;
  margin: 30px 0;
  font-size: 18px;
  font-style: italic;
  color: var(--text-secondary);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Certificate Display */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.cert-card {
  border: 1px solid var(--border-color);
  padding: 24px;
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-md);
}

.cert-badge-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.cert-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cert-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Articles & Content Layout */
.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 15px;
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-content h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 40px 0 20px 0;
  letter-spacing: -0.5px;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 15px 0;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 10px;
}

.highlight-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--accent-black);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 30px 0;
}

/* Interactive Quiz Widget */
.quiz-container {
  background-color: #ffffff;
  border: 2px solid var(--accent-black);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.quiz-progress-bar {
  height: 6px;
  background-color: var(--border-color);
  border-radius: 3px;
  margin-bottom: 24px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background-color: var(--accent-black);
  width: 20%;
  transition: width 0.3s ease;
}

.quiz-step-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.quiz-option-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-option-btn:hover {
  border-color: var(--accent-black);
  background-color: #ffffff;
}

.quiz-option-btn.selected {
  background-color: var(--accent-black);
  color: #ffffff;
  border-color: var(--accent-black);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-results-card {
  display: none;
  text-align: center;
}

.quiz-results-card.active {
  display: block;
}

.quiz-score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--accent-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 28px;
  font-weight: 800;
}

/* Order / Consultation Page & Lead Form */
.order-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 992px) {
  .order-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.product-showcase {
  border: 1px solid var(--border-color);
  padding: 30px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  text-align: center;
}

.product-showcase img {
  max-width: 280px;
  margin: 0 auto 20px auto;
  border: 1px solid var(--border-color);
  padding: 10px;
  background: #ffffff;
}

.product-specs {
  text-align: left;
  margin-top: 20px;
  font-size: 14px;
}

.product-specs li {
  margin-bottom: 8px;
}

.lead-form-box {
  border: 2px solid var(--accent-black);
  padding: 36px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-black);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.form-checkbox-group input {
  margin-top: 3px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* Thank You Page */
.thankyou-box {
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  border: 2px solid var(--accent-black);
  padding: 50px 30px;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
}

.thankyou-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-black);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px auto;
}

/* Footer & Disclaimers */
.site-footer {
  background-color: var(--bg-dark);
  color: #e4e4e7;
  padding: 60px 0 30px 0;
  border-top: 1fr solid var(--border-color);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  color: #a1a1aa;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a1a1aa;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.medical-disclaimer-box {
  border: 1px solid #27272a;
  background-color: #18181b;
  padding: 20px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #a1a1aa;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-bottom {
  border-top: 1px solid #27272a;
  padding-top: 24px;
  text-align: center;
  color: #71717a;
  font-size: 13px;
}

/* GDPR Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0f0f11;
  color: #ffffff;
  border-top: 2px solid #ffffff;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  color: #d4d4d8;
}

.cookie-text a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background-color: #ffffff;
  color: #000000;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.btn-cookie-accept:hover {
  background-color: #e4e4e7;
}

.btn-cookie-decline {
  background-color: transparent;
  color: #ffffff;
  padding: 8px 18px;
  font-size: 13px;
  border: 1px solid #71717a;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.btn-cookie-decline:hover {
  border-color: #ffffff;
}

/* Mobile responsive menu */
@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1fr solid var(--border-color);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}
