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

:root {
  --navy:        #00385F;
  --navy-mid:    #004e82;
  --teal:        #009688;
  --teal-hover:  #00796b;
  --teal-pale:   #e0f2f0;
  --teal-glow:   rgba(0,150,136,.12);
  --muted:       #546e7a;
  --muted-light: #90a4ae;
  --border:      #dde3ea;
  --border-soft: #edf1f5;
  --bg:          #f5f7fa;
  --white:       #ffffff;
}

html { scroll-behavior: smooth; }

body.no-scroll { overflow: hidden; }

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

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

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 88px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: max-content;
  text-decoration: none;
}

.logo:hover, .logo:hover .tagline { text-decoration: none; }

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.tagline {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

/* Nav */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav { display: flex; align-items: center; position: relative; }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 7px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--navy); background: var(--bg); }
.nav-links a.active { color: var(--navy); font-weight: 600; background: var(--bg); }

/* Language switcher */
.language-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}

.language-switcher a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 30px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .5px;
  transition: all .15s;
}

.language-switcher a:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}

.language-switcher a.selected {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--white);
  line-height: 1;
}

/* ── MAIN ── */
.main {
  flex: 1;
  width: 100%;
  padding-top: 88px;
}

/* ── HOME PAGE ── */
.home-hero {
  background: var(--navy);
  padding: 80px 5% 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,150,136,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,150,136,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.home-hero-glow {
  position: absolute;
  top: -15%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,150,136,.22) 0%, transparent 65%);
  pointer-events: none;
}

.home-hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,150,136,.15);
  color: #80cbc4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(0,150,136,.3);
}

.home-hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #80cbc4;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.home-hero h1 {
  position: relative;
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 16px;
  letter-spacing: -1.2px;
}

.lang-hy .home-hero h1 {
  font-size: clamp(28px, 4.5vw, 54px);
  max-width: 900px;
}

.home-hero h1 em {
  font-style: normal;
  color: #80cbc4;
}

.home-hero .sub {
  position: relative;
  font-size: 16px;
  color: var(--white);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* Search form */
.form-box {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  align-self: stretch;
}

.input-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-box input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(255,255,255,.18);
  color: var(--white);
  outline: none;
  transition: border-color .15s, background .15s;
}

.form-box input::placeholder { color: var(--white); }
.form-box input:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,.12);
}

/* Make the native search clear (×) button visible on dark background */
.form-box input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-size: contain;
  cursor: pointer;
  opacity: 1;
}

.demo-notice {
  font-size: 12px;
  color: var(--white);
  width: 100%;
  margin: 0;
  white-space: nowrap;
  line-height: 1.6;
  font-style: italic;
}

.form-box button {
  flex-shrink: 0;
  height: 52px;
  background: var(--teal);
  color: var(--white);
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(0,150,136,.35);
  white-space: nowrap;
}

.form-box button:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0,150,136,.45);
}

/* Status messages */
#loading {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
  letter-spacing: .3px;
}

#error {
  font-size: 14px;
  color: #ef9a9a;
  text-align: center;
  margin-top: 14px;
}

/* ── RESULTS ── */
.results-section {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 56px 5% 64px;
}

.results-inner {
  max-width: 760px;
  margin: 0 auto;
}

.results-grid-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.final-score-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0,150,136,.4);
}

.final-score-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}

.final-score-sub {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .5px;
  margin-top: 3px;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 10px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0,56,95,.04);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,56,95,.07);
}

.card-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--teal-pale);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}

.card-icon svg { width: 20px; height: 20px; }

.credibility-grid .card { padding-left: 36px; }

.card-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-content h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}

.score {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.5px;
}

.score.green  { color: #2e7d32; }
.score.orange { color: #e65100; }
.score.red    { color: #c62828; }

/* ── ABOUT PAGE ── */
.about-page { padding: 60px 5%; }

.page-hero {
  text-align: center;
  padding: 56px 5% 44px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero .section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.7px;
  line-height: 1.2;
  margin-bottom: 10px;
}

/* Team */
.team {
  padding: 56px 5%;
  max-width: 900px;
  margin: 0 auto;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.team-member {
  text-align: center;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px 20px 22px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.team-member:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,56,95,.07);
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(0,56,95,.12);
}

.team-member h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.role {
  font-size: 12px !important;
  color: var(--teal) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center !important;
}

/* Info blocks */
.info-sections { padding: 0 5% 56px; }

.info-block {
  max-width: 740px;
  margin: 0 auto 44px;
  padding: 36px 40px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  position: relative;
}

.info-block::before {
  content: '';
  position: absolute;
  left: 0; top: 20px; bottom: 20px;
  width: 3px;
  background: var(--teal);
  border-radius: 0 2px 2px 0;
}

.info-block h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -.3px;
}

.info-block p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  text-align: left;
}

.audience-list {
  list-style: none;
  padding-left: 0;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
  padding-left: 0;
}

.audience-list li span {
  color: var(--teal) !important;
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── CONTACT PAGE ── */
.contact-page {
  padding: 48px 5% 64px;
  max-width: 780px;
  margin: 0 auto;
}

.info-block-contact {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 20px;
  position: relative;
}

.info-block-contact::before {
  content: '';
  position: absolute;
  left: 0; top: 20px; bottom: 20px;
  width: 3px;
  background: var(--teal);
  border-radius: 0 2px 2px 0;
}

.info-block-contact p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.info-block-contact p:last-child { margin-bottom: 0; }
.info-block-contact strong { color: var(--navy); }

.info-block-contact a {
  color: #0d6efd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.info-block-contact a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

.contact_icon {
  width: 16px; height: 16px;
  vertical-align: middle;
  margin-right: 3px;
}

/* ── GLOBAL LINKS ── */
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer { width: 100%; }

.footer {
  background: var(--navy);
  padding: 28px 5%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer .left, .footer .right {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

.footer .right a {
  color: #80cbc4;
  text-decoration: none;
}

.footer .right a:hover { text-decoration: underline; }

.mobile-only  { display: none; }
.desktop-only { display: inline; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header { padding: 0 4%; height: 76px; }


  .hamburger { display: flex; align-items: center; justify-content: center; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,56,95,.12);
    border: 1px solid var(--border-soft);
    min-width: 160px;
    z-index: 1000;
  }

  .nav-links.show { display: flex; }
  .nav-links a { padding: 9px 14px; font-size: 14px; }

  .nav-wrapper { gap: 10px; }

  .main { padding-top: 76px; }

  .home-hero { padding: 52px 5% 44px; min-height: unset; }
  .home-hero h1 { letter-spacing: -.6px; }
  .home-hero .sub { font-size: 15px; }

  .form-box { flex-direction: column; align-items: stretch; }
  .form-box button { margin-top: 4px; }

  .credibility-grid { gap: 10px; }

  .team-grid { gap: 16px; }
  .team-member { width: 160px; padding: 22px 14px 18px; }
  .profile-pic { width: 80px; height: 80px; }

  .info-block { padding: 26px 22px 26px 28px; }
  .info-block-contact { padding: 24px 22px 24px 28px; }

  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .desktop-only { display: none; }
  .mobile-only  { display: inline; }

  .lang-hy .card-content h3 { font-size: 11px; }
}

@media (max-width: 480px) {
  .footer, .header { padding-left: 4%; padding-right: 4%; }
  .final-score-badge { padding: 10px 16px; }
  .final-score-num { font-size: 1.4rem; }
}

@media (max-width: 600px) {
  .results-header { flex-direction: column; align-items: flex-start; }
}
