/* =====================================================
   BASE / CONTAINER
===================================================== */

.nipiognosi-container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.nipiognosi-section{
  padding:90px 0;
}

.nipiognosi-section h2{
  font-size:32px;
  font-weight:700;
  letter-spacing:-.6px;
  color:#1e293b;
  margin:0 0 22px;
}

.nipiognosi-section p{
  color:#475569;
  line-height:1.8;
  font-size:17px;
}

.nipiognosi-home,
.nipiognosi-home *{
  box-sizing:border-box;
}

/* Accessibility focus */

a:focus{
  outline:3px solid #3b82f6;
  outline-offset:3px;
}

/* Remove bullets for semantic lists */

.steps,
.tools-grid,
.roles-grid{
  list-style:none;
  margin:0;
  padding:0;
}

/* =====================================================
   HERO
===================================================== */

.nipiognosi-hero{
  padding:90px 0 60px;
  background:
    radial-gradient(circle at 75% 35%, rgba(59,130,246,.12), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  overflow:hidden;
}

.hero-layout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
}

.hero-left{
  flex:1;
  max-width:620px;
}

.hero-right{
  flex:1;
  display:flex;
  justify-content:center;
}

.hero-label{
  font-size:14px;
  color:#64748b;
}

.hero-title{
  font-size:56px;
  font-weight:700;
  line-height:1.05;
  margin:20px 0 24px;
  letter-spacing:-1px;
  color:#1e293b;
}

.hero-title .highlight{
  background:linear-gradient(135deg,#3b82f6,#22c1a1);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-title .no-break{
  white-space:nowrap;
}

.hero-subtitle{
  font-size:20px;
  color:#475569;
  margin-bottom:18px;
  line-height:1.65;
}

.hero-availability{
  font-weight:600;
  color:#3b82f6;
  margin-bottom:24px;
}

.hero-actions{
  display:flex;
  gap:16px;
  margin-top:18px;
}

.btn-primary,
.btn-secondary{
  height:52px;
  padding:0 30px;
  min-width:190px;
  border-radius:40px;
  font-weight:600;
  font-size:15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:all .25s ease;
  white-space:nowrap;
}

.btn-primary{
  background:linear-gradient(135deg,#3b82f6,#22c1a1);
  color:#fff;
  border:none;
  box-shadow:0 10px 28px rgba(59,130,246,.22);
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 45px rgba(59,130,246,.30);
}

.btn-secondary{
  background:#fff;
  border:1.5px solid #cbd5e1;
  color:#1e293b;
}

.btn-secondary:hover{
  background:#f1f5f9;
}

.hero-note{
  font-size:14px;
  color:#64748b;
  margin-top:16px;
}

.hero-mockup img{
  width:760px;
  max-width:100%;
  border-radius:26px;
  box-shadow:0 40px 100px rgba(0,0,0,.15);
  display:block;
}

/* =====================================================
   AUTHORITY
===================================================== */

.authority-section{
  padding-top:60px;
}

.authority-section h2{
  font-size:34px;
}

.authority-section p{
  max-width:860px;
}

/* =====================================================
   HOW IT WORKS
===================================================== */

#how-it-works{
  padding-top:80px;
  position:relative;
}

#how-it-works h2{
  text-align:center;
  margin-bottom:50px;
}

#how-it-works h2::after{
  content:"";
  display:block;
  width:60px;
  height:4px;
  margin:16px auto 0;
  border-radius:4px;
  background:linear-gradient(90deg,#3b82f6,#22c1a1);
}

.steps{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:28px;
}

.step{
  background:#fff;
  border-radius:24px;
  padding:34px 22px;
  text-align:center;
  box-shadow:0 12px 35px rgba(0,0,0,.05);
  transition:all .25s ease;
  border:1px solid #f1f5f9;
}

.step:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.step-number{
  width:54px;
  height:54px;
  border-radius:18px;
  background:#f1f5f9;
  color:#3b82f6;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
  font-size:18px;
}

/* PREMIUM PROGRESS BAR */

.steps-progress{
  display:none;
  height:4px;
  width:100%;
  background:#e2e8f0;
  border-radius:4px;
  margin-top:28px;
  overflow:hidden;
}

.steps-progress-bar{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,#3b82f6,#22c1a1);
  border-radius:4px;
  transition:width .15s ease;
}

/* =====================================================
   TOOLS
===================================================== */

.tools-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
  margin-top:60px;
}

.tool-card{
  background:#fff;
  border-radius:28px;
  padding:50px 40px;
  text-align:center;
  box-shadow:0 15px 45px rgba(0,0,0,.06);
  transition:all .3s ease;
  border:1px solid #f1f5f9;
}

.tool-card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 70px rgba(0,0,0,.08);
}

.icon-wrapper{
  width:72px;
  height:72px;
  border-radius:20px;
  background:linear-gradient(135deg,#3b82f6,#22c1a1);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
}

.icon-wrapper img{
  width:36px;
  height:36px;
  display:block;
  filter:brightness(0) invert(1);
}

/* =====================================================
   ROLES
===================================================== */

.roles-section{
  background:#f8fbff;
}

.roles-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:26px;
  margin-top:60px;
  align-items:stretch;
}

.role-card{
  background:#fff;
  border-radius:22px;
  padding:30px 18px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  border:1px solid #f1f5f9;

  display:flex;
  flex-direction:column;
  justify-content:space-between; /* ΠΡΟΣΘΕΣΕ ΑΥΤΟ */
}

.role-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.role-card h3{
  font-size:14px;
  font-weight:700;
  margin:16px 0 12px;
  color:#1e293b;
}


/* =====================================================
   INTERNATIONAL
===================================================== */

.international-section{
  background:linear-gradient(135deg,#f1f7ff,#eefcf7);
  border-radius:32px;
  text-align:center;
  padding:100px 60px;
}

.international-section h2{
  font-size:30px;
  margin-bottom:24px;
}

.international-section p{
  max-width:750px;
  margin:0 auto;
  font-size:18px;
  line-height:1.8;
  color:#475569;
}
/* =====================================================
   METHODOLOGY – PREMIUM SOFT VERSION
===================================================== */

.methodology-section{
  background:linear-gradient(180deg,#f8fbff 0%, #ffffff 100%);
  padding:110px 0;
}

.methodology-section h2{
  text-align:center;
  margin-bottom:60px;
  font-size:34px;
}

.methodology-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
  gap:60px;
}

.methodology-block{
  background:#ffffff;
  padding:50px 48px;
  border-radius:36px; /* πιο μαλακές γωνίες */
  box-shadow:0 30px 70px rgba(15,23,42,.06);
  border:1px solid rgba(148,163,184,.12);
  transition:all .35s ease;
  position:relative;
  overflow:hidden;
}

/* subtle glow effect */
.methodology-block::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right,
    rgba(59,130,246,.06),
    transparent 60%);
  opacity:0;
  transition:opacity .4s ease;
}

.methodology-block:hover{
  transform:translateY(-10px);
  box-shadow:0 40px 90px rgba(15,23,42,.09);
}

.methodology-block:hover::before{
  opacity:1;
}

.methodology-block p{
  font-size:18px;
  line-height:1.9;
  color:#334155;
  margin-bottom:22px;
}

.methodology-link{
  font-weight:600;
  font-size:15px;
  color:#2563eb;
  text-decoration:none;
  position:relative;
}

.methodology-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:2px;
  background:#2563eb;
  transition:width .3s ease;
}

.methodology-link:hover::after{
  width:100%;
}
/* =====================================================
   SCIENTIFIC
===================================================== */

.scientific-section{
  border-left:5px solid #3b82f6;
  padding-left:40px;
}

.scientific-section h2{
  font-size:28px;
  margin-bottom:20px;
}

.scientific-section p{
  font-size:17px;
  line-height:1.8;
  color:#475569;
  max-width:900px;
}

/* =====================================================
   FINAL CTA
===================================================== */

.final-cta{
  background:#fff;
  text-align:center;
  padding:110px 60px;
}

.final-cta h2{
  font-size:32px;
  margin-bottom:24px;
}

.final-cta p{
  max-width:750px;
  margin:0 auto 30px;
  font-size:18px;
  color:#475569;
  line-height:1.7;
}

/* =====================================================
   MOBILE
===================================================== */
/* Hide progress on desktop only */
@media (min-width: 993px){
  .how-progress{
    display:none !important;
  }
}


@media (max-width: 992px){

  .nipiognosi-section{
    padding:70px 0;
  }

  .hero-layout{
    flex-direction:column;
    text-align:center;
    gap:40px;
  }

  .hero-title{
    font-size:34px;
    line-height:1.2;
  }

  .hero-title .no-break{
    white-space:normal;
  }

  .hero-subtitle{
    font-size:16px;
  }

  .hero-actions{
    flex-direction:column;
    align-items:center;
  }

  .btn-primary,
  .btn-secondary{
    width:85%;
    max-width:340px;
    min-width:unset;
  }

  /* =========================================
   HOW IT WORKS – MOBILE (Minimal SaaS)
========================================= */

#how-it-works .steps{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding-bottom:18px;
  scrollbar-width:none;
  position:relative;
}

#how-it-works .steps::-webkit-scrollbar{
  display:none;
}

#how-it-works .step{
  min-width:85%;
  flex:0 0 85%;
  scroll-snap-align:center;
}

/* Subtle right fade hint */
#how-it-works .steps::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:40px;
  height:100%;
  pointer-events:none;
  background:linear-gradient(to left, #fff 20%, rgba(255,255,255,0));
}

/* Progress container */
.how-progress{
  margin-top:14px;
}

/* Progress bar track */
.how-progress-track{
  width:100%;
  height:4px;
  background:#e2e8f0;
  border-radius:4px;
  overflow:hidden;
}

/* Moving bar */
.how-progress-bar{
  height:100%;
  width:20%; /* ξεκινά από step 1/5 */
  background:linear-gradient(90deg,#3b82f6,#22c1a1);
  border-radius:4px;
  transition:width .35s ease;
}

/* Counter */
.how-progress-counter{
  margin-top:8px;
  font-size:13px;
  color:#64748b;
  text-align:right;
  font-weight:500;
}


  /* ================= TOOLS ================= */

  .tools-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  /* ================= ROLES ================= */

  .roles-grid{
    grid-template-columns:repeat(2,1fr);
    gap:18px;
  }

  .international-section{
    padding:70px 26px;
  }

  .scientific-section{
    padding-left:20px;
  }

  .final-cta{
    padding:80px 26px;
  }
}

.methodology-block{
  padding:36px;
  border-radius:28px;
}
/* =====================================================
   ACCESSIBILITY HARDENING
===================================================== */

/* Focus for all interactive elements */
a:focus,
button:focus,
select:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 3px;
}

/* Horizontal scroll container focus */
#how-it-works .steps:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
/* =====================================================
   WCAG FIX – CONTRAST + TOUCH TARGETS
===================================================== */

/* ---------- Improve contrast ---------- */

.hero-label,
.hero-note {
  color: #475569; /* πιο σκούρο για AA */
}

.role-card h3 {
  color: #0f172a; /* πιο σκούρο heading */
}

.role-btn {
  color: #1d4ed8; /* πιο σκούρο μπλε */
}



/* ---------- Tool buttons (αν υπάρχουν) ---------- */

.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
}

/* ---------- Fix small counter contrast ---------- */

.how-progress-counter {
  color: #475569;
  font-size: 14px;
}

/* ---------- Ensure sufficient contrast for secondary buttons ---------- */

.btn-secondary {
  border-color: #94a3b8;
}

/* ---------- Improve focus consistency ---------- */

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
  .methodology-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

 /* =====================================================
   FOOTER – PREMIUM BALANCE
===================================================== */

.nipio-footer {
  background: #0b132b;
  color: #cbd5e1;
  padding: 90px 0 40px;
}

.nipio-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 60px;
}

.nipio-footer-col strong {
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
  color: #ffffff;
  font-size: 15px;
}

.nipio-footer-col p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.7;
}

.nipio-footer-brand p {
  max-width: 240px;
  opacity: 0.85;
}

/* Footer links */

.nipio-footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color .25s ease;
}

.nipio-footer-col a:hover {
  color: #ffffff;
}

/* Bottom bar */

.nipio-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 60px;
  padding-top: 24px;
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
}

/* Mobile */

@media (max-width: 768px) {
  .nipio-footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.roles-grid a.role-btn.uniform-btn {

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 10px 22px;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;

   color: #1e293b;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px; /* pill */

  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
  transition: all .25s ease;
}

.roles-grid a.role-btn.uniform-btn:hover {
  background: #ffffff;
  border-color: #94a3b8;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);

}
