/* ============================================
   EVIDA® – Official Website | Shared Styles
   ============================================ */

:root {
  --brand:       #0B7EC4;
  --brand-dark:  #0868A6;
  --brand-light: #E6F3FB;
  --accent:      #00B4D8;
  --dark:        #0A1628;
  --dark-2:      #0F1E38;
  --text:        #1A2B3C;
  --muted:       #5B7080;
  --bg:          #FFFFFF;
  --bg-off:      #F4F8FC;
  --border:      #DDE8F0;
  --white:       #FFFFFF;
  --r:           12px;
  --r-lg:        20px;
  --shadow:      0 4px 20px rgba(11,126,196,0.12);
  --shadow-lg:   0 12px 48px rgba(10,22,40,0.15);
  --t:           0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(10,22,40,0.10); }

.nav-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--brand);
  flex-shrink: 0;
}
.nav-logo span { color: var(--dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  transition: background var(--t), color var(--t);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { background: var(--brand-light); color: var(--brand); }
.nav-links a.active { background: var(--brand-light); color: var(--brand); font-weight: 600; }
.nav-cta {
  background: var(--brand) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--brand-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px 24px 48px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 10px;
  color: var(--text);
  transition: background var(--t);
  min-height: 56px;
  display: flex;
  align-items: center;
}
.mobile-menu a:hover,
.mobile-menu a.active { background: var(--brand-light); color: var(--brand); }
.mobile-menu a.active { font-weight: 700; }
.mobile-menu .mob-cta {
  background: var(--brand);
  color: var(--white) !important;
  text-align: center;
  justify-content: center;
  margin-top: 16px;
  border-radius: 10px;
}
.mobile-menu .mob-cta:hover { background: var(--brand-dark); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding-top: 72px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(11,126,196,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 80px;
  position: relative;
  z-index: 1;
}
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--text); font-weight: 500; }
.breadcrumb svg { color: var(--border); }

/* ===== LAYOUT ===== */
.section { padding: 96px 32px; }
.section-light { background: var(--bg-off); }
.section-dark { background: var(--dark); }

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

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-dark .section-eyebrow { color: rgba(255,255,255,0.45); }

.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }

.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.section-dark .section-sub { color: rgba(255,255,255,0.55); }

.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  min-height: 44px;
  white-space: nowrap;
}
.btn-brand {
  background: var(--brand);
  color: var(--white);
}
.btn-brand:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,126,196,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-white {
  background: var(--white);
  color: var(--brand);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ===== MARQUEE ===== */
.marquee-wrap {
  background: var(--brand);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  animation: marqueeScroll 22s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.marquee-item::after {
  content: '·';
  font-size: 18px;
  opacity: 0.4;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.product-img-wrap {
  background: var(--bg-off);
  padding: 40px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  container-type: inline-size;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--t);
}
.product-card:hover .product-img { transform: scale(1.06); }

.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.product-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.product-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.65;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.spec-pill {
  background: var(--bg-off);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.btn-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  min-height: 44px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-check:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,126,196,0.30);
}

/* ===== BENEFIT CARDS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.benefit-icon {
  width: 64px; height: 64px;
  background: var(--brand-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.benefit-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.benefit-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.stat-item {
  background: rgba(255,255,255,0.03);
  padding: 48px 24px;
  text-align: center;
  transition: background var(--t);
}
.stat-item:hover { background: rgba(11,126,196,0.12); }
.stat-value {
  display: block;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== REVIEWS (judge.me style) ===== */
.reviews-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.review-card:nth-child(1) { grid-column: 1; }
.review-card:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.review-card:nth-child(3) { grid-column: 3; }
.review-card:nth-child(4) { grid-column: 1; grid-row: 2 / 4; }
.review-card:nth-child(5) { grid-column: 3; }
.review-card:nth-child(6) { grid-column: 2; }
.review-card:nth-child(7) { grid-column: 3; grid-row: 3 / 5; }
.review-card:nth-child(8) { grid-column: 1 / 3; }

.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-author { font-weight: 700; font-size: 15px; color: var(--dark); }
.review-date { font-size: 12px; color: var(--muted); }
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #16A34A;
}
.review-title { font-weight: 700; font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.review-body { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, #0571AF 100%);
  padding: 96px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60%; left: -10%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60%; right: -5%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 72px 32px 32px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { display: block; margin-bottom: 16px; }
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-style: normal;
}
.footer-address a { color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-address a:hover { color: var(--white); }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.35); transition: color var(--t); font-size: 13px; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ===== SHARED FORM ===== */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  min-height: 44px;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,126,196,0.12);
}
textarea.form-control { resize: vertical; min-height: 140px; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 20px; }
  .page-hero-inner { padding: 56px 20px 64px; }
  .breadcrumb { padding: 12px 20px; }

  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .reviews-masonry { grid-template-columns: 1fr; }
  .review-card:nth-child(n) { grid-column: 1; grid-row: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav { padding: 0 20px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 16px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}
