/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap');

/* Variables */
:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --accent: #10B981;
  --bg-primary: #F3F4F6;
  --bg-secondary: #FFFFFF;
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

ul {
  list-style: none;
}

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

.iti {
  width: 100%;
}

/* Neomorphism Styles */
.neomorphic {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 16px rgba(174, 174, 192, 0.4),
              -8px -8px 16px rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  transition: var(--transition);
}

.neomorphic:hover {
  box-shadow: 10px 10px 20px rgba(174, 174, 192, 0.5),
              -10px -10px 20px rgba(255, 255, 255, 0.9);
}

.neomorphic-inset {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: inset 5px 5px 10px rgba(174, 174, 192, 0.4),
              inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
}

.neomorphic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 5px 5px 10px rgba(174, 174, 192, 0.4),
              -5px -5px 10px rgba(255, 255, 255, 0.8);
}

.neomorphic-button:hover {
  box-shadow: 7px 7px 14px rgba(174, 174, 192, 0.5),
              -7px -7px 14px rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.neomorphic-button:active {
  box-shadow: inset 3px 3px 6px rgba(174, 174, 192, 0.4),
              inset -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.neomorphic-input {
  width: 100%;
  background: var(--bg-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  box-shadow: inset 3px 3px 6px rgba(174, 174, 192, 0.4),
              inset -3px -3px 6px rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.neomorphic-input:focus {
  outline: none;
  box-shadow: inset 4px 4px 8px rgba(174, 174, 192, 0.5),
              inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

/* Header Styles */
.site-header {
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

.primary-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after, 
.nav-link.active::after {
  width: 100%;
}

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

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-image-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

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

.feature-card {
  position: relative;
  transition: var(--transition);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background-color: var(--bg-primary);
  color: var(--primary);
  font-size: 1.5rem;
  box-shadow: 5px 5px 10px rgba(174, 174, 192, 0.4),
              -5px -5px 10px rgba(255, 255, 255, 0.8);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--text-secondary);
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-image-container {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background-color: var(--primary);
  color: white;
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form-section {
  padding: 4rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.contact-info-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary);
  box-shadow: 3px 3px 6px rgba(174, 174, 192, 0.4),
              -3px -3px 6px rgba(255, 255, 255, 0.8);
}

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

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

.form-button {
  background-color: var(--primary);
  color: white;
  width: 100%;
}

/* Footer */
.site-footer {
  background-color: var(--bg-secondary);
  padding: 3rem 0 1.5rem;
  box-shadow: var(--shadow-sm);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-links-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-link {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-secondary);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-text {
  margin-bottom: 1rem;
}

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

.cookie-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition);
}

.accept-all {
  background-color: var(--success);
  color: white;
}

.settings {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 3px 3px 6px rgba(174, 174, 192, 0.4),
              -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.decline-all {
  background-color: transparent;
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  display: none;
}

.cookie-settings-modal.show {
  display: flex;
}

.modal-content {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 500;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-body {
  padding: 1.5rem;
}

.cookie-type {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

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

.cookie-type-title {
  font-weight: 500;
}

.toggle-container {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

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

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

.toggle:checked + .toggle-slider {
  background-color: var(--success);
}

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

.cookie-type-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.save-preferences {
  background-color: var(--success);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition);
}

/* Responsive Styles */
@media (min-width: 576px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-buttons {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

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

/* Mobile Navigation */
@media (max-width: 767px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .primary-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: min(30vh, 10rem) 2rem;
    transform: translateX(100%);
    transition: transform 350ms ease-out;
    box-shadow: var(--shadow-lg);
  }
  
  .primary-nav[data-visible="true"] {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.125rem;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

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

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

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

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

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

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

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

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

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-5 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.w-100 {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.shadow {
  box-shadow: var(--shadow-md);
}

.radius {
  border-radius: var(--radius-md);
}

/* Article Page Styles */
.article {
  padding: 2rem 0;
}

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

.article-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

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

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem;
}

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

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

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin-left: 0;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Thanks Page */
.thanks-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.thanks-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 1.5rem;
}

.thanks-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thanks-message {
  max-width: 600px;
  margin-bottom: 2rem;
}

/* About/Principles Page */
.principles-section {
  padding: 4rem 0;
}

.principle-card {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.principle-card:last-child {
  border-bottom: none;
}

.principle-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  text-align: center;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.principle-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Legal Pages */
.legal-page {
  padding: 4rem 0;
}

.legal-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.legal-updated {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-text {
  margin-bottom: 1rem;
}

.legal-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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