:root {
  --primary-dark: #1a5276;
  --primary: #2c7cba;
  --primary-light: #3498db;
  --secondary: #1abc9c;
  --accent: #e74c3c;
  --dark-bg: #2c3e50;
  --card-bg: #34495e;
  --card-border: #4a6278;
  --text-light: #ffffff;
  --text-muted: #ecf0f1;
  --footer-bg: #1a252f;
  --highlight: #a3e4d7;
  --price-green: #5ef19b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 40px 20px;
  padding-bottom: 250px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
}

.header-box {
  display: inline-block;
  background-color: rgba(47, 85, 119, 0.9);
  padding: 20px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  border: 2px solid var(--secondary);
 
}

.header-content .page-main-title {
  font-size: 2.5em; /* Kisebb, mint a fő logó, de nagyobb, mint a tagline */
  color: #FFFFFF; /* Fehér szín */
  margin-bottom: 10px;
  font-weight: 700; /* Vastagabb betűtípus */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enyhe árnyék a kiemelésért */
}

.tagline {
  font-size: 20px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
}

main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}

h2 {
  text-align: center;
  font-size: 32px;
  margin: 40px 0 30px;
  padding-bottom: 15px;
  color: var(--text-light);
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

h3 {
  color: var(--primary-light);
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.section-container {
  margin-bottom: 60px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  font-size: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out, transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card h3 {
  margin-top: 0;
  font-size: 22px;
  color: var(--text-light);
}

.card ul {
  padding-left: 20px;
  margin: 15px 0;
  text-align: left;
  flex-grow: 1;
}

.card li {
  margin-bottom: 8px;
  position: relative;
}

.card li:before {
  content: '•';
  color: var(--secondary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.card p {
  text-align: left;
  flex-grow: 1;
  margin: 10px 0;
}

.highlight {
  color: var(--highlight);
  font-weight: bold;
}

.price-highlight {
  color: var(--price-green);
  font-weight: bold;
}

.free-highlight {
  color: #54f095;
  font-weight: bold;
  background-color: rgba(39, 174, 96, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 25px;
  background-color: rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 8px;
  line-height: 1.5;
}

.note strong {
  color: var(--secondary);
}

.cta-container-contect {
  text-align: center;
  margin: 50px 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-dark) 25%, var(--secondary) 100%);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.cta-container-courier {
  text-align: center;
  margin: 50px 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-dark) 10%, #0d876f 100%);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.cta-button {
  display: inline-block;
  background-color: var(--dark-bg);
  color: white;
  padding: 16px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: linear-gradient(135deg, #15a789 10%, var(--primary-dark) 100%);;
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.581);
}

footer {
  background-color: var(--footer-bg);
  text-align: center;
  padding: 25px;
  font-size: 14px;
  margin-top: auto;
}

.revolut-button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.revolut-button {
  display:inline-flex;
  align-items: center;
  padding:14px 32px;
  background-color:#000000;
  color:#ffffff;
  text-decoration:none;
  border-radius:8px;
  font-weight:bold;
  font-family:Arial, sans-serif;
  font-size:16px;
  transition: all 0.3s ease;
}

.revolut-button:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.revolut-button img {
  margin-right:16px;
  vertical-align:middle;
  border-radius: 4px;
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--secondary);
  display: block;
}

.aszf {
  margin-top: 60px;
  font-size: 14px;
  color: var(--text-muted);
  background-color: #2c3e60;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

.aszf h3 {
  color: var(--text-light);
  margin-top: 0;
  font-size: 22px;
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  margin-bottom: 20px;
}

.aszf ul {
  padding-left: 20px;
  text-align: left;
  margin: 0;
}

.aszf li {
  margin-bottom: 15px;
  line-height: 1.5;
}

.contact-info {
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  text-align: left;
  border-left: 4px solid var(--secondary);
}

.contact-info strong {
  color: var(--text-light);
}

.contact-info a {
  color: var(--primary-light);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background-color: var(--secondary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s;
}

#scrollTopBtn:hover {
  background-color: #16a085;
  transform: translateY(-3px);
}

.comparison-section {
  margin: 50px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-table th, .comparison-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.comparison-table th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.price-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
}

.price-badge.you {
  background: linear-gradient(90deg, var(--dark-bg), var(--secondary));
  color: white;
} 

.price-badge.market {
  background: linear-gradient(90deg, var(--footer-bg), var(--card-border));
  color: white;
}

.faq-container {
  margin: 50px 0;
}

.faq-item {
  margin-bottom: 20px;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.faq-question {
  padding: 20px;
  background-color: rgba(52, 152, 219, 0.1);
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: rgba(52, 152, 219, 0.2);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  padding: 20px;
  max-height: 300px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.fb-link {
  color: white;
  text-decoration: none;
}

.fb-link:visited,
.fb-link:hover,
.fb-link:active {
  color: white;
}

section[id],
.comparison-section[id],
.faq-container[id] {
  scroll-margin-top: 100px;
}

/* Navigációs sáv: asztali nézet */
.main-nav {
  position: sticky;
  top: 15px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  background-color: rgba(38, 41, 43, 0.99);
  z-index: 1000;
  padding: 0 75px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  border-radius: 15px;
  border: 3px solid var(--footer-bg);
  transition: all 0.3s linear;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-header {
  display: none;
}

.main-nav a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  padding: 15px 20px;
  font-weight: 500;
  transition: all 0.1s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary);
  border-radius: 15px;
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--secondary);
  transition: width 0.1s ease;
  border-radius: 2px;
}

.main-nav a:hover:after,
.main-nav a.active:after {
  width: 70%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 1000;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 2px 0;
  transition: all 0.1s ease;
  border-radius: 2px;
}

.main-nav.scrolled {
    transition: all 0.3s linear;
    background: linear-gradient(90deg, var(--dark-bg), var(--footer-bg));
  }

  
/* Mobil nézet */
@media (max-width: 900px) {
  .main-nav {
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
  }
  
  .main-nav.scrolled {
    background-color: var(--dark-bg);
    left: 0;
    width: 100%; /* A képernyő teljes szélességét kitölti */
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
   

  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: transparent;
    border-bottom: none;
    transition: all 0.1s ease-in-out;
  }
  
  .main-nav.scrolled .nav-header {
    background-color: var(--card-bg);
    border-bottom: 3px solid var(--secondary);
    
  }

  .header-logo {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    border: 3px solid var(--secondary);
    background: var(--card-bg);
    border-radius: 8px;
    padding: 10px 10px;
    font-weight: 700;
    color: var(--secondary);
    font-size: 14px;
  }

  .header-content .page-main-title {
    font-size: 2em;
  }
  
  .main-nav.scrolled .header-logo {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease;
  }
  
  .main-nav ul.open {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.1s ease-in-out;
    border: 3px solid var(--footer-bg);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  
  .nav-toggle {
    display: flex;
    position: static;
    
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .main-nav a {
    text-align: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Az elemek kezdeti pozíciója (a menü nyitása előtt) */
    opacity: 0;
    transform: translateY(-50px);
    
    /* A mozgás utáni halványodás animáció a nyitáshoz */
    transition: transform 0.3s ease, opacity 0.3s ease 0.3s;
  }
  
  .main-nav a:last-child {
    border-bottom: none;
  }
  
  .main-nav a:after {
    display: none;
  }
  
  .main-nav ul.open a {
    opacity: 1;
    transform: translateY(0);
    
    /* A halványodás előtti mozgás animáció a bezáráshoz */
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease;
    
  }

  .contact-methods {
    flex-direction: column;
    align-items: center;
  }
}

/* Kis mobil nézetek */
@media (max-width: 480px) {
  .main-nav a {
    font-size: 14px;
    padding: 10px 15px;
  }
  
  .header-box {
    font-size: 22px;
    padding: 12px 20px;
  }
  .header-content .page-main-title {
    font-size: 1.8em;
  }
  
  h2 {
    font-size: 26px;
  }
  
  .cta-container {
    padding: 25px 15px;
  }
  
  .comparison-table th, .comparison-table td {
    padding: 14px 25px;
    font-size: 14px;
    white-space: wrap;
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
  }
  
  .price-badge {
    font-size: 12px;
    padding: 14px 24px;
    white-space: nowrap;
  }
}

/* Új stílusok a consultation.html-hez */
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.method-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  max-width: 350px;
  flex: 1 1 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.method-card .icon-box {
  width: 70px;
  height: 70px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.method-card .icon-box i {
  font-size: 30px;
  color: var(--text-light);
}

.method-card h3 {
  color: var(--text-light);
  margin-bottom: 10px;
}

.method-card p {
  color: var(--text-muted);
  font-size: 0.9em;
  margin-bottom: 20px;
}

.method-button {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.method-button:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.contact-info-footer {
  margin-top: 50px;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-footer h3 {
  color: var(--text-light);
  margin-bottom: 15px;
}

.contact-info-footer p {
  font-size: 1em;
  color: var(--text-muted);
  line-height: 1.8;
}