/* ============================================
   EVODAT – Fő stíluslap
   Modern SaaS design, Bootstrap 5 alapra
   ============================================ */

:root {
  --evo-primary:    #2563EB;
  --evo-primary-dk: #1D4ED8;
  --evo-secondary:  #7C3AED;
  --evo-accent:     #10B981;
  --evo-dark:       #0F172A;
  --evo-text:       #1E293B;
  --evo-muted:      #64748B;
  --evo-border:     #E2E8F0;
  --evo-bg:         #F8FAFC;
  --evo-card-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --evo-card-hover:  0 10px 30px rgba(37,99,235,.12);
  --radius:         12px;
  --radius-sm:       8px;
}

/* === Base – dark mode kizárása, fix light theme === */
* { box-sizing: border-box; }

html, body {
  color-scheme: light only !important;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--evo-text) !important;
  background: #ffffff !important;
  line-height: 1.65;
}

/* Globális szöveg szín fix – sötét témát letilt */
p, span, div, li, td, th, label, h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

/* Section-ok explicit háttér + szöveg */
section, main, article {
  background-color: transparent;
  color: var(--evo-text);
}

/* Input, textarea, select mindig világos */
.form-control,
.form-select,
.input-group-text {
  background-color: #ffffff !important;
  color: #1E293B !important;
  border-color: #CBD5E1 !important;
}

.form-control::placeholder { color: #94A3B8 !important; }

.form-control:focus,
.form-select:focus {
  background-color: #ffffff !important;
  color: #1E293B !important;
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12) !important;
}

/* Dropdown menü világos */
.dropdown-menu {
  background-color: #ffffff !important;
  border-color: #E2E8F0 !important;
}

.dropdown-item { color: #1E293B !important; }
.dropdown-item:hover { background-color: #F1F5F9 !important; }

/* Bootstrap .text-muted fix */
.text-muted { color: #64748B !important; }
.text-white-75 { color: rgba(255,255,255,.78) !important; }
.text-white-50 { color: rgba(255,255,255,.55) !important; }

/* === Navbar === */
.evo-navbar {
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .75rem 0;
}

.evo-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--evo-primary);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* === Hero === */
.evo-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F1F3D 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff !important;
}

/* Sötét hátterű szekciók – minden szöveg fehér */
.evo-hero *,
.evo-page-header *,
.evo-cta-section *,
.evo-footer * {
  color: inherit;
}

.evo-page-header {
  color: #ffffff !important;
}

.evo-cta-section {
  color: #ffffff !important;
}

.evo-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.evo-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -.02em;
}

.evo-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
}

.evo-gradient-text {
  background: linear-gradient(135deg, #60A5FA, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.evo-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  border-radius: 100px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(96,165,250,.3);
  color: #93C5FD;
  font-size: .8rem;
  font-weight: 600;
}

.evo-hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.evo-hero-wave svg { width: 100%; }

.min-vh-75 { min-height: 75vh; }

/* Hero visual floating cards */
.evo-hero-visual { position: relative; }

.evo-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.evo-card-float-1 { top: 20px; right: -10px; animation-delay: 0s; }
.evo-card-float-2 { bottom: 40px; left: -10px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* === Feature cards === */
.evo-feature-card {
  background: #fff;
  border: 1px solid var(--evo-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}

.evo-feature-card:hover {
  box-shadow: var(--evo-card-hover);
  transform: translateY(-3px);
}

.evo-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* === Service cards === */
.evo-service-card {
  background: #fff;
  border: 1px solid var(--evo-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.evo-service-card:hover {
  box-shadow: var(--evo-card-hover);
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.2);
}

/* === Floating Chat Widget === */
.evo-chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1080;
}

.evo-chat-toggle {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .35);
  position: relative;
}

.evo-chat-toggle:hover {
  transform: translateY(-1px);
}

.evo-chat-ping {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .7);
  animation: evoPing 1.5s infinite;
}

@keyframes evoPing {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.evo-chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(390px, calc(100vw - 24px));
  height: min(590px, calc(100vh - 120px));
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.evo-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem .9rem;
  background: #0f172a;
  color: #fff;
}

.evo-chat-head .small {
  color: rgba(255,255,255,.72);
}

.evo-chat-body {
  padding: .9rem;
  flex: 1 1 auto;
  overflow: auto;
  background: #f8fafc;
}

.evo-chat-list-item {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 10px;
  padding: .6rem .7rem;
}

.evo-chat-list-item + .evo-chat-list-item {
  margin-top: .5rem;
}

.evo-chat-msg {
  padding: .5rem .65rem;
  border-radius: 10px;
  max-width: 84%;
  font-size: .92rem;
}

.evo-chat-msg.me {
  margin-left: auto;
  background: #2563eb;
  color: #fff;
}

.evo-chat-msg.other {
  margin-right: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
}

@media (max-width: 576px) {
  .evo-chat-widget {
    right: 10px;
    bottom: 10px;
  }

  .evo-chat-panel {
    right: 0;
    bottom: 70px;
    width: calc(100vw - 20px);
    height: calc(100vh - 102px);
    border-radius: 14px;
  }
}

.evo-price-tag {
  font-weight: 700;
  color: var(--evo-primary);
  font-size: .95rem;
}

/* === Steps === */
.evo-steps-section { background: var(--evo-bg); }

.evo-step { position: relative; padding-top: 2rem; }

.evo-step-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--evo-primary);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === CTA === */
.evo-cta-section {
  background: linear-gradient(135deg, var(--evo-primary), var(--evo-secondary));
}

.btn-white {
  background: #fff;
  color: var(--evo-primary);
  border: none;
  font-weight: 600;
}

.btn-white:hover {
  background: #f0f7ff;
  color: var(--evo-primary-dk);
}

/* === Page header === */
.evo-page-header {
  background: linear-gradient(135deg, #0F172A, #1E293B);
}

/* === Section labels === */
.evo-section-label {
  display: inline-block;
  color: var(--evo-primary);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.evo-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

/* === Auth pages === */
.evo-auth-section {
  background: var(--evo-bg);
  min-height: calc(100vh - 64px);
}

.evo-auth-card {
  background: #fff;
  border: 1px solid var(--evo-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--evo-card-shadow);
}

/* === Form === */
.evo-form .form-control,
.evo-form .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--evo-border);
  padding: .6rem .9rem;
  font-size: .9rem;
  transition: border-color .15s, box-shadow .15s;
}

.evo-form .form-control:focus,
.evo-form .form-select:focus {
  border-color: var(--evo-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.evo-form-section {
  background: var(--evo-bg);
  border: 1px solid var(--evo-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

/* === Bootstrap margin override – mt-3 és mt-5 nullázása === */
.mt-3 { margin-top: 0 !important; }
.mt-5 { margin-top: 0 !important; }

/* === Breadcrumb === */
.evo-breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--evo-border);
  padding: .6rem 0;
}
.evo-breadcrumb-bar .breadcrumb {
  margin-bottom: 0;
  font-size: .82rem;
}
.evo-breadcrumb-bar .breadcrumb-item a {
  color: var(--evo-primary);
  text-decoration: none;
}
.evo-breadcrumb-bar .breadcrumb-item a:hover {
  text-decoration: underline;
}
.evo-breadcrumb-bar .breadcrumb-item.active {
  color: var(--evo-muted);
}
.evo-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  color: var(--evo-border);
}

/* === Order page === */
.evo-order-panel {
  border: 1px solid var(--evo-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--evo-card-shadow);
}

.evo-order-panel-header {
  background: linear-gradient(135deg, var(--evo-primary), var(--evo-secondary));
  padding: 1.5rem;
}

.evo-order-panel-body {
  background: #fff;
  padding: 1.5rem;
}

.evo-order-price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.evo-order-summary {
  background: var(--evo-bg);
  border: 1px solid var(--evo-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.evo-summary-service {
  background: #fff;
  border: 1px solid var(--evo-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.evo-trust-items { display: flex; flex-direction: column; gap: .6rem; }

.evo-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--evo-muted);
}

/* === Service detail === */
.evo-service-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--evo-text);
}

/* === Dashboard === */
.evo-stat-card {
  background: #fff;
  border: 1px solid var(--evo-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow .2s;
}

.evo-stat-card:hover { box-shadow: var(--evo-card-hover); }

.evo-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.evo-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.evo-stat-label {
  font-size: .8rem;
  color: var(--evo-muted);
  margin-top: .15rem;
}

.evo-card {
  background: #fff;
  border: 1px solid var(--evo-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--evo-card-shadow);
}

.evo-card-header {
  padding: 1.5rem 1.25rem 1rem 1.25rem;
  background: #fff;
  border-bottom: none;
  margin-bottom: 0;
}

.evo-card .card-body {
  border-top: 1px solid var(--evo-border);
  padding: 1.25rem;
}

/* === Contact === */
.evo-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.evo-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.evo-contact-hero {
  background:
    radial-gradient(700px 260px at 90% 10%, rgba(16,185,129,.16), transparent 70%),
    radial-gradient(600px 260px at 10% 80%, rgba(37,99,235,.20), transparent 72%),
    linear-gradient(135deg, #0f172a, #1e293b);
}

.evo-contact-kicker {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .08em;
  font-weight: 700;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .3rem .7rem;
  margin-bottom: .7rem;
}

.evo-contact-hero-sub {
  max-width: 58ch;
}

.evo-contact-hero-badges {
  display: grid;
  gap: .7rem;
}

.evo-contact-badge-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #e2e8f0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .7rem .8rem;
  backdrop-filter: blur(4px);
}

.evo-contact-badge-item i {
  color: #93c5fd;
}

.evo-contact-main {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
}

.evo-contact-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
  padding: 1.35rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.evo-contact-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
  transform: translateY(-2px);
}

.evo-contact-item.modern {
  margin-bottom: 1rem;
  padding-bottom: .95rem;
  border-bottom: 1px dashed #e2e8f0;
}

.evo-contact-item.modern:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.evo-contact-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.evo-contact-link:hover {
  color: var(--evo-primary);
  text-decoration: underline;
}

.evo-contact-form .form-floating > label {
  color: #64748b;
}

.evo-contact-form .form-control {
  border-radius: 12px;
  border-color: #dbe2ea;
  min-height: 56px;
  box-shadow: none;
}

.evo-contact-form textarea.form-control {
  min-height: 170px;
}

.evo-contact-form .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.evo-contact-form .form-control.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,.10);
}

.evo-contact-success {
  display: flex;
  align-items: center;
  gap: .8rem;
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #14532d;
  border-radius: 12px;
  padding: .95rem 1rem;
}

.evo-contact-success i {
  font-size: 1.4rem;
}

.evo-trust-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .55rem;
}

.evo-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: #334155;
  font-size: .93rem;
}

.evo-trust-list i {
  color: #10b981;
  margin-top: .1rem;
}

.evo-mini-testimonial {
  border-left: 3px solid #bfdbfe;
  padding: .6rem .75rem;
  background: #f8fafc;
  color: #475569;
  border-radius: 0 10px 10px 0;
  font-size: .92rem;
}

.evo-map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

/* === Footer === */
.evo-footer {
  background: #0F172A;
  border-top: 1px solid rgba(255,255,255,.06);
}

.evo-footer-link {
  color: #94A3B8;
  text-decoration: none;
  font-size: .9rem;
  transition: color .15s;
}

.evo-footer-link:hover { color: #fff; }

.evo-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .95rem;
  transition: background .15s, color .15s;
}

.evo-social-link:hover {
  background: var(--evo-primary);
  color: #fff;
}

/* === Spacing helpers === */
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* === Buttons === */
.btn-primary {
  background: var(--evo-primary);
  border-color: var(--evo-primary);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--evo-primary-dk);
  border-color: var(--evo-primary-dk);
}

/* === AnyDesk banner === */
.evo-anydesk-banner {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.evo-anydesk-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.evo-anydesk-guide {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.evo-anydesk-steps { display: flex; flex-direction: column; gap: .6rem; }
.evo-anydesk-step {
  display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem;
}
.evo-step-num-sm {
  width: 22px; height: 22px; border-radius: 50%;
  background: #0369a1; color: #fff;
  font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.evo-how-step { padding: 1rem .5rem; }
.evo-how-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}

/* === Onsite guide === */
.evo-onsite-guide {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* === Order form – ügyfél típus kártyák === */
.evo-type-card {
  flex: 1; min-width: 160px;
  border: 2px solid var(--evo-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s, box-shadow .15s;
  background: #fff;
}
.evo-type-card:hover {
  border-color: var(--evo-primary);
  background: #EFF6FF;
}
.evo-type-card.selected {
  border-color: var(--evo-primary);
  background: #EFF6FF;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* === Order addon kártyák === */
.evo-addon-card {
  display: block;
  border: 2px solid var(--evo-border);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #fff;
}
.evo-addon-card:hover { border-color: var(--evo-primary); background: #F8FAFC; }
.evo-addon-card.selected {
  border-color: var(--evo-primary);
  background: #EFF6FF;
}
.evo-addon-price {
  font-weight: 700; color: var(--evo-primary);
  font-size: .85rem; text-align: right; white-space: nowrap; flex-shrink: 0;
}

/* === Services page filter tabs === */
.evo-category-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }

/* === Logo preview === */
.evo-logo-preview { min-height: 80px; display: flex; align-items: center; justify-content: center; }

/* === Navbar brand logo (dark/light support) === */
.navbar-brand img {
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 1rem;
}

/* Logo only – remove site name text if logo exists */
.navbar-brand:has(img) span {
  display: none;
}

/* Logo icon SVG style */
.evo-logo-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.evo-logo-icon svg {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* === Responsive === */
@media (max-width: 768px) {
  .evo-auth-card { padding: 1.75rem; }
  .evo-hero-title { font-size: 1.8rem; }
  .evo-type-card { min-width: 130px; }
  .evo-contact-card { padding: 1rem; border-radius: 14px; }
  .evo-contact-hero-badges { grid-template-columns: 1fr; }
  .evo-contact-success { align-items: flex-start; }
  .evo-contact-success .btn { margin-left: 0 !important; }
}
