
@font-face {
  font-family: 'PixelFont';
  src: url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
}

:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --accent: #FFE66D;
  --dark: #1A535C;
  --light: #F7FFF7;
  --bg: #2A2A2A;
  --text: #FFFFFF;
  --shadow: #121212;
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary);
}

a:focus {
  outline: 2px dotted var(--primary);
  outline-offset: 2px;
}

button, .btn {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  transition: all 0.3s ease;
  background-color: var(--primary);
  color: var(--text);
  letter-spacing: 0.05em;
  box-shadow: 4px 4px 0 var(--shadow);
  position: relative;
  overflow: hidden;
}

button:hover, .btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shadow);
  background-color: var(--secondary);
}

button:focus, .btn:focus {
  outline: 2px dotted var(--primary);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


.pixel-border {
  border: 4px solid var(--primary);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 1rem;
  position: relative;
}

.pixel-border:before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}

.pixel-border:after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


.main-layout {
  display: flex;
  flex-direction: column;
}

.content-container {
  display: flex;
  flex-direction: column;
}

.uk-section-muted {
  background-color: inherit;
}

@media (min-width: 992px) {
  .main-layout {
    flex-direction: row;
  }
  
  .content-container {
    flex: 1;
    margin-right: 320px; 
  }
  
  .sidebar {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 300px;
    height: fit-content;
    overflow-y: auto;
    padding: 2rem 1rem;
    background-color: var(--dark);
    box-shadow: -4px 0 0 var(--shadow);
    display: flex;
    flex-direction: column;
    z-index: 100;
  }
}


.header {
  padding: 1rem 0;
  background-color: var(--bg);
  position: relative;
  z-index: 50;
}

.logo {
  display: inline-block;
  height: 60px;
  width: auto;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 1.5rem;
  color: var(--text);
  position: absolute;
  right: 1rem;
  top: 1.5rem;
}

.nav-toggle:hover {
  color: var(--primary);
  transform: none;
  box-shadow: none;
  background-color: transparent;
}

.main-nav {
  display: none;
  flex-direction: column;
  padding-top: 1rem;
}

.main-nav.active {
  display: flex;
}

.main-nav a {
  padding: 0.5rem 0;
  margin: 0.25rem 0;
  color: var(--text);
  border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  
  .main-nav {
    display: flex;
    flex-direction: row;
    padding-top: 0;
    justify-content: flex-end;
  }
  
  .main-nav a {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
  }
}


.sidebar {
  background-color: var(--dark);
  padding: 1.5rem;
  margin: 1rem 0;
}

.sidebar h3 {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.sidebar h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.contact-info {
  margin-bottom: 2rem;
}

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

.contact-info i {
  margin-right: 0.5rem;
  color: var(--primary);
  min-width: 20px;
  text-align: center;
}

.sidebar .btn {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}


.mobile-sidebar-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 200;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-sidebar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 150;
  padding: 1.5rem;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-sidebar.active {
  transform: translateY(0);
}

.mobile-sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  box-shadow: none;
}

.mobile-sidebar-close:hover {
  color: var(--primary);
  transform: none;
  box-shadow: none;
}

@media (min-width: 992px) {
  .mobile-sidebar-toggle,
  .mobile-sidebar {
    display: none;
  }
}


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

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, var(--bg) 25%, transparent 25%),
                    linear-gradient(-45deg, var(--bg) 25%, transparent 25%),
                    linear-gradient(45deg, transparent 75%, var(--bg) 75%),
                    linear-gradient(-45deg, transparent 75%, var(--bg) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  margin-top: 2rem;
  border: 4px solid var(--secondary);
  box-shadow: 8px 8px 0 var(--shadow);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero-image {
    margin-top: 0;
    max-width: 50%;
    margin-left: auto;
  }
  
  .hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .hero-content {
    max-width: 50%;
  }
}


.card {
  background-color: var(--dark);
  border: 2px solid var(--primary);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shadow);
}

.card-header {
  margin-bottom: 1rem;
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  filter: drop-shadow(2px 2px 0 var(--shadow));
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}


.features {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


.steps {
  padding: 4rem 0;
  background-color: var(--dark);
}

.step {
  margin-bottom: 3rem;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  line-height: 40px;
  box-shadow: 2px 2px 0 var(--shadow);
  margin-bottom: 1rem;
}

.step-content {
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
  }
  
  .step-number {
    margin-right: 1.5rem;
    margin-bottom: 0;
  }
  
  .step-content {
    flex: 1;
  }
}


.use-cases {
  padding: 4rem 0;
}

.use-case {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px dashed var(--primary);
}

.use-case:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.use-case-image {
  margin-bottom: 1.5rem;
  border: 4px solid var(--secondary);
  box-shadow: 8px 8px 0 var(--shadow);
}

@media (min-width: 768px) {
  .use-case {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
  }
  
  .use-case-content {
    flex: 1;
    padding-right: 2rem;
  }
  
  .use-case-image {
    flex: 0 0 40%;
    margin-bottom: 0;
  }
  
  .use-case:nth-child(odd) {
    flex-direction: row;
  }
  
  .use-case:nth-child(odd) .use-case-content {
    padding-right: 0;
    padding-left: 2rem;
  }
}


.technical-features {
  padding: 4rem 0;
  background-color: var(--dark);
}

.tech-feature {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 30px;
}

.tech-feature:before {
  content: '➤';
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
}


.security-section {
  padding: 4rem 0;
}

.security-link {
  margin-top: 2rem;
  text-align: center;
}


.form-section {
  padding: 4rem 0;
  background-color: var(--dark);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--primary);
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--secondary);
}

.form-check {
  display: flex;
  align-items: flex-start;
}

.form-check input[type="checkbox"] {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.iti {
  width: 100%;
}

.form-error {
  border-color: var(--primary);
  background-color: rgba(255, 107, 107, 0.1);
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  display: none;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: var(--bg);
  width: 90%;
  max-width: 500px;
  border: 4px solid var(--primary);
  box-shadow: 8px 8px 0 var(--shadow);
  padding: 2rem;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
}

.modal-close:hover {
  color: var(--primary);
  transform: none;
  box-shadow: none;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-footer {
  text-align: right;
}


.article {
  padding: 4rem 0;
}

.article-header {
  margin-bottom: 2rem;
}

.article-date {
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.article-content {
  line-height: 1.8;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
}

.article-content ul,
.article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}


.contact-page {
  padding: 4rem 0;
}

.contact-details {
  margin-bottom: 3rem;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.contact-info-list i {
  margin-right: 0.75rem;
  color: var(--primary);
  min-width: 20px;
  text-align: center;
}

.contact-map {
  width: 100%;
  height: 400px;
  margin-top: 2rem;
  border: 4px solid var(--secondary);
  box-shadow: 8px 8px 0 var(--shadow);
}


.thanks-page {
  padding: 6rem 0;
  text-align: center;
}

.thanks-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.thanks-message {
  max-width: 600px;
  margin: 0 auto;
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-consent.active {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-consent p {
  margin-bottom: 1rem;
  flex: 1 0 100%;
}

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

.cookie-settings-btn {
  background-color: transparent;
  border: 2px solid var(--secondary);
  box-shadow: none;
}

.cookie-settings-btn:hover {
  background-color: var(--secondary);
  transform: none;
}

.cookie-settings-modal {
  padding-bottom: 2rem;
}

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

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

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

.cookie-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

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

input:checked + .cookie-toggle-slider {
  background-color: var(--primary);
}

input:focus + .cookie-toggle-slider {
  box-shadow: 0 0 1px var(--primary);
}

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

.cookie-category-description {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.cookie-settings-link {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 900;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background-color: var(--dark);
  color: var(--text);
  border: 2px solid var(--primary);
  border-radius: 0;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--shadow);
}

.cookie-settings-link:hover {
  background-color: var(--primary);
}


.footer {
  background-color: var(--dark);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-legal {
  list-style: none;
  margin-top: 1rem;
}

.footer-legal li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--primary);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .footer-section {
    flex: 1 0 45%;
  }
}


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

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


@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .cookie-consent-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-consent-buttons button {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .sidebar {
    padding: 1rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.legal-content {
  padding: 4rem 0;
}

.legal-content h2 {
  margin-top: 2.5rem;
}

.legal-content h3 {
  margin-top: 2rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-date {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--primary);
  font-style: italic;
  color: var(--secondary);
}


.pixel-art-icon {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}