
:root {
  --primary-bg: #121212;
  --secondary-bg: #1E1E1E;
  --card-bg: #252525;
  --input-bg: #2D2D2D;
  --border-color: #333333;
  --accent-color-1: #8C52FF;
  --accent-color-2: #00D9C0;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --text-muted: #999999;
  --alert-color: #FF5252;
  --success-color: #4CAF50;
  --warning-color: #FFC107;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-primary);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--accent-color-2);
  bottom: -10px;
  left: 0;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-color-2);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color-1);
  text-decoration: underline;
}


.section {
  padding: 4rem 0;
}

.container {
  max-width: 1200px;
  padding: 0 1.5rem;
}


.site-header {
  background-color: var(--secondary-bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-container {
  height: 50px;
}

.logo-container img {
  height: 100%;
}

.lang-indicator {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background-color: var(--card-bg);
  border-radius: 4px;
  color: var(--text-muted);
  margin-left: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.top-bar, .top-bar ul {
  background-color: transparent;
}

.menu li a {
  color: var(--text-primary);
  font-weight: 400;
  padding: 1rem 1.5rem;
  position: relative;
}

.menu li a:hover {
  color: var(--accent-color-2);
}

.menu li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color-2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu li a:hover:after {
  width: 70%;
}

.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
  border-color: var(--accent-color-2) transparent transparent;
}


.title-bar {
  background-color: var(--secondary-bg);
  padding: 1rem;
}

.title-bar-title {
  color: var(--text-primary);
  font-weight: 500;
}

.off-canvas {
  background-color: var(--secondary-bg);
}

.off-canvas .menu li a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
}

.off-canvas .close-button {
  color: var(--text-primary);
}


.hero {
  background-color: var(--secondary-bg);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(140, 82, 255, 0.1) 0%, rgba(0, 217, 192, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subheading {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}


.button {
  background-color: var(--accent-color-1);
  color: white;
  border-radius: 4px;
  padding: 0.85em 1.5em;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.button:hover, .button:focus {
  background-color: var(--accent-color-2);
  color: white;
}

.button.hollow {
  background-color: transparent;
  border-color: var(--accent-color-1);
  color: var(--accent-color-1);
}

.button.hollow:hover {
  background-color: var(--accent-color-1);
  color: white;
}

.button.secondary {
  background-color: var(--accent-color-2);
}

.button.secondary:hover {
  background-color: var(--accent-color-1);
}

.button.secondary.hollow {
  background-color: transparent;
  border-color: var(--accent-color-2);
  color: var(--accent-color-2);
}

.button.secondary.hollow:hover {
  background-color: var(--accent-color-2);
  color: white;
}


.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.card-divider {
  background-color: var(--accent-color-1);
  color: white;
  padding: 1rem;
}

.card-section {
  padding: 1.5rem;
  color: var(--text-secondary);
}

.card-section h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 500;
}


[type="text"], [type="password"], [type="date"], [type="datetime"], 
[type="datetime-local"], [type="month"], [type="week"], [type="email"], 
[type="number"], [type="search"], [type="tel"], [type="time"], [type="url"], 
[type="color"], textarea, select {
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: none;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

[type="text"]:focus, [type="password"]:focus, [type="date"]:focus, [type="datetime"]:focus, 
[type="datetime-local"]:focus, [type="month"]:focus, [type="week"]:focus, [type="email"]:focus, 
[type="number"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="time"]:focus, [type="url"]:focus, 
[type="color"]:focus, textarea:focus, select:focus {
  background-color: var(--input-bg);
  border-color: var(--accent-color-1);
  box-shadow: 0 0 0 2px rgba(140, 82, 255, 0.25);
  color: var(--text-primary);
}

label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.form-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -1rem;
  margin-bottom: 1rem;
}

.form-error {
  color: var(--alert-color);
  font-size: 0.85rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
  display: none;
}

.is-invalid-input:not(:focus) {
  border-color: var(--alert-color);
  background-color: rgba(255, 82, 82, 0.1);
}


.feature-block {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-block:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color-1);
  margin-bottom: 1.5rem;
}

.feature-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}


.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--accent-color-2);
  transform: translateX(-50%);
}

.timeline-item {
  padding: 2rem 0;
  position: relative;
}

.timeline-icon {
  position: absolute;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}


.accordion {
  background-color: transparent;
  margin-bottom: 2rem;
}

.accordion-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-title {
  background-color: var(--card-bg);
  color: var(--text-primary);
  font-size: 1rem;
  padding: 1.25rem;
  border: none;
}

.accordion-title:hover, .accordion-title:focus {
  background-color: var(--card-bg);
  color: var(--accent-color-2);
}

.accordion-content {
  background-color: var(--card-bg);
  color: var(--text-secondary);
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
}


.tabs {
  border: none;
  background-color: transparent;
}

.tabs-title > a {
  color: var(--text-secondary);
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  background-color: var(--card-bg);
  border-radius: 4px 4px 0 0;
  margin-right: 0.5rem;
}

.tabs-title > a:hover {
  background-color: var(--input-bg);
  color: var(--accent-color-2);
}

.tabs-title > a[aria-selected='true'] {
  background-color: var(--input-bg);
  color: var(--accent-color-1);
  border-bottom: 3px solid var(--accent-color-1);
}

.tabs-content {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0 4px 4px 4px;
}

.tabs-panel {
  padding: 2rem;
}


.site-footer {
  background-color: var(--secondary-bg);
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
}

.footer-section h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color-2);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--accent-color-1);
  min-width: 20px;
  text-align: center;
}

.copyright-bar {
  background-color: var(--primary-bg);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 3rem;
}

.copyright-bar a {
  color: var(--text-secondary);
}

.copyright-bar a:hover {
  color: var(--accent-color-2);
}


.reveal {
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.reveal h2 {
  color: var(--text-primary);
}

.close-button {
  color: var(--text-primary);
}

.close-button:hover {
  color: var(--accent-color-2);
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--card-bg);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  margin-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: none;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cookie-category-title {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.switch-label {
  display: flex;
  align-items: center;
}

.switch-label span {
  margin-right: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-color-1);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--accent-color-1);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.cookie-category-description {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-settings-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  display: none;
}


.iti {
  width: 100%;
  display: block;
  margin-bottom: 1.5rem;
}

.iti__flag-container {
  height: auto;
}

.iti__selected-flag {
  background-color: var(--input-bg) !important;
}

.iti__country-list {
  background-color: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.iti__country.iti__highlight {
  background-color: var(--input-bg);
}


#budget-planner-container {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.budget-input-group {
  margin-bottom: 1.5rem;
}

.budget-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.budget-input {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
}

.budget-result {
  background-color: var(--primary-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.budget-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.budget-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.budget-category-name {
  font-weight: 500;
  color: var(--text-primary);
}

.budget-category-value {
  font-weight: 700;
}

.budget-category-save .budget-category-value {
  color: var(--accent-color-2);
}

.budget-category-invest .budget-category-value {
  color: var(--accent-color-1);
}

.budget-category-spend .budget-category-value {
  color: var(--warning-color);
}

.budget-summary {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
  text-align: center;
}

.budget-summary-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.budget-summary-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color-2);
}


@media screen and (max-width: 639px) {
  .timeline:before {
    left: 30px;
  }
  
  .timeline-icon {
    left: 30px;
  }
  
  .timeline-content {
    width: 85%;
    margin-left: 60px !important;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subheading {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  .timeline:before {
    left: 50px;
  }
  
  .timeline-icon {
    left: 50px;
  }
  
  .timeline-content {
    width: 75%;
    margin-left: 80px !important;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
}


.text-primary {
  color: var(--text-primary) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-accent-1 {
  color: var(--accent-color-1) !important;
}

.text-accent-2 {
  color: var(--accent-color-2) !important;
}

.bg-primary {
  background-color: var(--primary-bg) !important;
}

.bg-secondary {
  background-color: var(--secondary-bg) !important;
}

.bg-card {
  background-color: var(--card-bg) !important;
}

.bg-accent-1 {
  background-color: var(--accent-color-1) !important;
}

.bg-accent-2 {
  background-color: var(--accent-color-2) !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.5rem !important;
}

.p-2 {
  padding: 1rem !important;
}

.p-3 {
  padding: 1.5rem !important;
}

.p-4 {
  padding: 2rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.rounded {
  border-radius: 4px !important;
}

.rounded-lg {
  border-radius: 8px !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.shadow {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2) !important;
}

.transition {
  transition: all 0.3s ease !important;
}

.hover-lift:hover {
  transform: translateY(-5px) !important;
}

.no-underline {
  text-decoration: none !important;
}

.no-underline:hover {
  text-decoration: none !important;
}

.divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 2rem 0;
}


.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.5s ease forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(20px);
  animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}