/* Ghidul Vederii - Stiluri Principale (Romania Geo) */
:root {
  --ro-blue: #002B7F;
  --ro-blue-dark: #001D57;
  --ro-blue-light: #EBF1FF;
  --ro-yellow: #FCD116;
  --ro-yellow-hover: #E5B800;
  --ro-red: #CE1126;
  --ro-red-hover: #A80B1C;
  --bg-main: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --transition: all 0.25s ease-in-out;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Nav */
.site-header {
  background-color: var(--white);
  border-bottom: 3px solid var(--ro-yellow);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: linear-gradient(90deg, var(--ro-blue) 0%, var(--ro-blue-dark) 100%);
  color: var(--white);
  font-size: 0.85rem;
  padding: 6px 0;
  text-align: center;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.flag-icon {
  display: inline-block;
  width: 18px;
  height: 12px;
  background: linear-gradient(90deg, #002B7F 33%, #FCD116 33% 66%, #CE1126 66%);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ro-blue);
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--ro-blue-light);
  color: var(--ro-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2px solid var(--ro-blue);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ro-blue);
}
.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--ro-blue);
  background-color: var(--ro-blue-light);
}

.btn-cta-header {
  background-color: var(--ro-red);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(206, 17, 38, 0.3);
  transition: var(--transition);
}
.btn-cta-header:hover {
  background-color: var(--ro-red-hover);
  transform: translateY(-2px);
  background-color: var(--ro-red-hover) !important;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ro-blue);
  cursor: pointer;
}

/* Main Container */
main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--ro-blue-light) 100%);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 50px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--ro-blue) 33%, var(--ro-yellow) 33% 66%, var(--ro-red) 66%);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--ro-yellow);
  color: var(--ro-blue-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.hero-title {
  font-size: 2.3rem;
  color: var(--ro-blue-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.author-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--ro-blue);
}
.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ro-blue);
}
.author-info h4 {
  color: var(--ro-blue);
  font-size: 1.05rem;
  font-weight: 700;
}
.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}
.hero-img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.verified-badge {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ro-blue);
  border: 1px solid var(--ro-blue-light);
}

/* Section Titles */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px auto;
}
.section-title {
  font-size: 2rem;
  color: var(--ro-blue-dark);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--ro-blue), var(--ro-yellow), var(--ro-red));
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

/* Feature Grid / Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ro-blue-light);
}

/* Article Cards */
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.article-badge {
  background-color: var(--ro-blue-light);
  color: var(--ro-blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 12px;
}
.article-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-title {
  font-size: 1.25rem;
  color: var(--ro-blue-dark);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}
.article-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}
.article-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
}

/* Interactive Quiz Banner & Section */
.quiz-section {
  background: linear-gradient(135deg, var(--ro-blue-dark) 0%, var(--ro-blue) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 40px;
  margin: 50px 0;
  box-shadow: var(--shadow-lg);
}
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 30px;
}
.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
}
.quiz-question {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-btn {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.quiz-btn:hover {
  background: var(--ro-yellow);
  color: var(--ro-blue-dark);
  border-color: var(--ro-yellow);
}
.quiz-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin-bottom: 25px;
  overflow: hidden;
}
.quiz-bar {
  height: 100%;
  background: var(--ro-yellow);
  width: 25%;
  transition: width 0.3s ease;
}

/* Calculator Section */
.calculator-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--ro-blue-light);
  margin: 40px 0;
}
.calc-field {
  margin-bottom: 20px;
}
.calc-label {
  display: block;
  font-weight: 700;
  color: var(--ro-blue-dark);
  margin-bottom: 8px;
}
.calc-select, .calc-range {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 1rem;
}
.calc-result-box {
  background: var(--ro-blue-light);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 25px;
  border: 1px dashed var(--ro-blue);
}
.calc-result-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ro-blue);
}

/* Certificates Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.cert-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.cert-badge {
  width: 70px;
  height: 70px;
  background: var(--ro-blue-light);
  color: var(--ro-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 15px auto;
  border: 2px solid var(--ro-blue);
}
.cert-title {
  font-weight: 700;
  color: var(--ro-blue-dark);
  font-size: 0.95rem;
  margin-bottom: 5px;
}
.cert-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Lead Order Form Container (comanda.html) */
.order-container {
  max-width: 650px;
  margin: 40px auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 2px solid var(--ro-blue);
  position: relative;
}
.order-header {
  text-align: center;
  margin-bottom: 30px;
}
.order-header h2 {
  color: var(--ro-blue-dark);
  font-size: 1.8rem;
  font-weight: 800;
}
.order-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.form-group {
  margin-bottom: 22px;
}
.form-label {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  font-size: 1.05rem;
  transition: var(--transition);
}
.form-input:focus {
  border-color: var(--ro-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 43, 127, 0.15);
}
.btn-submit {
  width: 100%;
  background-color: var(--ro-red);
  color: var(--white);
  border: none;
  padding: 16px 25px;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(206, 17, 38, 0.35);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-submit:hover {
  background-color: var(--ro-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(206, 17, 38, 0.45);
}
.guarantee-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Thank You Page Styling */
.thankyou-box {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid #10B981;
}
.thankyou-icon {
  width: 80px;
  height: 80px;
  background: #D1FAE5;
  color: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 25px auto;
}
.thankyou-title {
  font-size: 2.2rem;
  color: var(--ro-blue-dark);
  font-weight: 800;
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background-color: var(--ro-blue);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--ro-blue-dark);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--ro-yellow);
  color: var(--ro-blue-dark);
}
.btn-secondary:hover {
  background-color: var(--ro-yellow-hover);
  transform: translateY(-2px);
}
.btn-danger {
  background-color: var(--ro-red);
  color: var(--white);
}
.btn-danger:hover {
  background-color: var(--ro-red-hover);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background-color: var(--ro-blue-dark);
  color: var(--white);
  padding: 50px 0 20px 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--ro-yellow);
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--ro-yellow);
}
.disclaimer-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 9999;
  border-top: 4px solid var(--ro-blue);
  display: none;
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  flex: 1;
  min-width: 280px;
}
.cookie-text a {
  color: var(--ro-blue);
  font-weight: 600;
}
.cookie-btns {
  display: flex;
  gap: 12px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .grid-3, .grid-4, .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--ro-blue);
  }
  .main-nav.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .grid-2, .grid-3, .grid-4, .cert-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.7rem;
  }
}
