/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --header-height: 3.5rem;

  /* ===== Colors ===== */
  --primary-color: #0284c7;
  --primary-color-alt: #0ea5e9;
  --secondary-color: #0891b2;
  --accent-color: #06b6d4;
  --text-color: #cbd5e1;
  --text-color-light: #94a3b8;
  --title-color: #f1f5f9;
  --body-color: #0f172a;
  --container-color: #1e293b;
  --border-color: #334155;
  --gradient-1: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
  --gradient-2: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --shadow-light: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 4px 16px rgba(15, 23, 42, 0.12);
  --shadow-heavy: 0 8px 32px rgba(15, 23, 42, 0.16);

  /* ===== Font and Typography ===== */
  --body-font: 'Inter', sans-serif;
  --title-font: 'Space Grotesk', sans-serif;
  --biggest-font-size: 2.75rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /* ===== Font Weight ===== */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* ===== z-index ===== */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* ===== Transitions ===== */
  --transition-fast: 0.2s ease-in-out;
  --transition-medium: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* Responsive Typography */
@media screen and (max-width: 768px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
  }
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-regular);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid {
  display: grid;
}

.section {
  padding: 5rem 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.section__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: var(--transition-medium);
  text-transform: uppercase;
  font-size: var(--small-font-size);
  letter-spacing: 0.5px;
}

.button--primary {
  background: var(--gradient-1);
  color: var(--body-color);
  box-shadow: var(--shadow-medium);
}

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

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

.button--outline:hover {
  background: var(--primary-color);
  color: var(--body-color);
  transform: translateY(-2px);
}

.button__icon {
  font-size: 1rem;
  transition: var(--transition-fast);
}

.button:hover .button__icon {
  transform: translateX(3px);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  transition: var(--transition-medium);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  font-family: var(--title-font);
  font-weight: var(--font-bold);
  color: var(--title-color);
  font-size: 1.125rem;
}

.nav__logo-img {
  height: 55px;
  width: auto;
  transition: var(--transition-medium);
}

.nav__logo-img:hover {
  transform: scale(1.05);
}

.nav__logo-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

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

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

.nav__language {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  background: transparent;
  color: var(--text-color-light);
  transition: var(--transition-fast);
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--primary-color);
  color: var(--body-color);
}

.nav__close,
.nav__toggle {
  display: none;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
  position: relative;
}

.hero__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero__title-accent {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.125rem;
  color: var(--text-color-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.hero__orb--1 {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(239, 68, 68, 0.2) 100%);
}

.hero__orb--2 {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(8, 145, 178, 0.2) 100%);
}

.hero__orb--3 {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(168, 85, 247, 0.2) 100%);
}

.hero__orb--4 {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.4) 0%, rgba(239, 68, 68, 0.3) 100%);
}

.hero__orb--1 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.hero__orb--3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

.hero__orb--4 {
  width: 120px;
  height: 120px;
  top: 40%;
  right: 15%;
  animation-delay: 1s;
}

.hero__logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.hero__logo-center-img {
  height: 100px;
  width: auto;
  transition: var(--transition-medium);
  filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.5));
  opacity: 0.95;
}

.hero__logo-center-img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.7));
  opacity: 1;
}

.hero__tech-icons {
  position: relative;
  z-index: 10;
  width: 300px;
  height: 300px;
}

.tech-icon {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--body-color);
  animation: pulse 3s ease-in-out infinite;
}

.tech-icon--cyber {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  top: -60px;
  left: -60px;
  animation-delay: 0s;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.6);
  z-index: 15;
}

.tech-icon--blockchain {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
  top: -60px;
  right: -60px;
  animation-delay: 1s;
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.6);
  z-index: 15;
}

.tech-icon--ai {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.6);
  z-index: 15;
}

/* ===== EXPERTISE SECTION ===== */
.expertise {
  background: var(--body-color);
}

.expertise__container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.expertise__card {
  background: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition-medium);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.expertise__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.expertise__card:nth-child(2)::before {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
}

.expertise__card:nth-child(3)::before {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.expertise__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.expertise__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--body-color);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.expertise__card:nth-child(2) .expertise__icon {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3);
}

.expertise__card:nth-child(3) .expertise__icon {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.expertise__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.expertise__description {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.expertise__features {
  text-align: left;
}

.expertise__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.expertise__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: var(--font-bold);
}

.expertise__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  text-decoration: none;
  margin-top: 1.5rem;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.expertise__link:hover {
  color: var(--primary-color-alt);
  border-bottom-color: var(--primary-color-alt);
  transform: translateX(5px);
}

.expertise__link i {
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.expertise__link:hover i {
  transform: translateX(3px);
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--container-color);
}

.services__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service__card {
  background: var(--body-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.service__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.service__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--body-color);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.service__description {
  color: var(--text-color-light);
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--body-color);
}

.contact__container {
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--container-color);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.contact__card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--body-color);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  flex-shrink: 0;
}

.contact__card-data {
  flex: 1;
}

.contact__card-title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
}

.contact__card-description {
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact__email {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__email-label {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact__email-link {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(2, 132, 199, 0.1);
  border-radius: 0.5rem;
  border: 1px solid rgba(2, 132, 199, 0.3);
  transition: var(--transition-fast);
  display: inline-block;
  width: fit-content;
}

.contact__email-link:hover {
  background: rgba(2, 132, 199, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.contact__form {
  background: var(--container-color);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.contact__form-div {
  position: relative;
  margin-bottom: 2rem;
}

.contact__form-label {
  position: absolute;
  top: -0.75rem;
  left: 1rem;
  background: var(--container-color);
  padding: 0 0.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.contact__form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: var(--transition-fast);
  resize: vertical;
}

.contact__form-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact__form-area {
  height: 7rem;
}

.contact__form-area textarea {
  height: 100%;
}

.contact__form-button {
  width: 100%;
  justify-content: center;
}

.contact__form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: var(--font-medium);
  display: none;
}

.contact__form-message.success {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.contact__form-message.error {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--container-color);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0 1.5rem;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__brand-name {
  font-family: var(--title-font);
  font-weight: var(--font-bold);
  font-size: 1.25rem;
  color: var(--title-color);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.footer__tagline {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  line-height: 1.2;
  max-width: 200px;
}

.footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  transition: var(--transition-fast);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
}

.footer__contact-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(2, 132, 199, 0.1);
}

.footer__contact-link i {
  font-size: 1rem;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  gap: 0.5rem;
}

.footer__copy {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  text-align: right;
  margin: 0;
}

/* Responsive */
@media screen and (max-width: 968px) {
  .footer__container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer__content {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer__brand {
    align-items: center;
  }
  
  .footer__tagline {
    text-align: center;
    max-width: 300px;
  }
  
  .footer__legal {
    justify-content: center;
    align-items: center;
  }
  
  .footer__copy {
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer__container {
    gap: 1rem;
  }
  
  .footer__logo img {
    width: 40px;
    height: 40px;
  }
  
  .footer__brand-name {
    font-size: 1.125rem;
  }
  
  .footer__contact-link {
    font-size: var(--small-font-size);
    padding: 0.375rem 0.75rem;
  }
}

/* ===== EXPERTISE PAGE ===== */
.expertise-hero {
  background: var(--gradient-2);
  padding: 8rem 0 4rem;
  text-align: center;
}

.expertise-hero .hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 2rem;
}

.expertise-hero .hero__description {
  font-size: var(--h3-font-size);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color-light);
}

.expertise-details {
  padding: 4rem 0;
}

.expertise-detail {
  margin-bottom: 4rem;
  padding: 3rem;
  background: var(--container-color);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.expertise-detail__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.expertise-detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--body-color);
}

.expertise-detail__title {
  font-size: var(--h1-font-size);
  font-family: var(--title-font);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.expertise-detail__subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color-light);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.expertise-detail__content {
  text-align: left;
}

.expertise-detail__intro {
  font-size: var(--normal-font-size);
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.expertise-detail__content h3 {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  font-family: var(--title-font);
}

.expertise-detail__list {
  list-style: none;
  padding: 0;
}

.expertise-detail__list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.expertise-detail__list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Methodology Steps */
.methodology__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.methodology__step {
  text-align: center;
  padding: 2rem;
  background: var(--body-color);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  position: relative;
}

.methodology__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  color: var(--body-color);
  border-radius: 50%;
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.methodology__step h3 {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.methodology__step p {
  color: var(--text-color-light);
  line-height: 1.5;
}

/* CTA Section */
.cta {
  background: var(--gradient-1);
  padding: 4rem 0;
  text-align: center;
}

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

.cta__title {
  font-size: var(--h1-font-size);
  color: var(--body-color);
  margin-bottom: 1rem;
  font-family: var(--title-font);
}

.cta__description {
  font-size: var(--normal-font-size);
  color: var(--body-color);
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta__button {
  background: var(--body-color);
  color: var(--primary-color);
  border: 2px solid var(--body-color);
  padding: 1rem 2rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.cta__button:hover {
  background: transparent;
  color: var(--body-color);
  border-color: var(--body-color);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .expertise-hero {
    padding: 6rem 0 3rem;
  }
  
  .expertise-hero .hero__title {
    font-size: var(--h1-font-size);
  }
  
  .expertise-hero .hero__description {
    font-size: var(--normal-font-size);
  }
  
  .expertise-detail {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .expertise-detail__icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .methodology__steps {
    grid-template-columns: 1fr;
  }
  
  .methodology__step {
    padding: 1.5rem;
  }
}

/* ===== SCROLL TOP ===== */
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  background: var(--primary-color);
  border-radius: 0.5rem;
  z-index: var(--z-tooltip);
  transition: var(--transition-medium);
  visibility: hidden;
}

.scrolltop.show-scroll {
  visibility: visible;
  bottom: 3rem;
}

.scrolltop__icon {
  font-size: 1.25rem;
  color: var(--body-color);
}

.scrolltop:hover {
  background: var(--primary-color-alt);
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

/* Animation spécifique pour chaque tech-icon */
.tech-icon--cyber {
  animation: pulseCyber 3s ease-in-out infinite;
}

.tech-icon--blockchain {
  animation: pulseBlockchain 3s ease-in-out infinite;
}

.tech-icon--ai {
  animation: pulseAI 3s ease-in-out infinite;
}

@keyframes pulseCyber {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.6), 0 0 0 15px rgba(220, 38, 38, 0);
  }
}

@keyframes pulseBlockchain {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(2, 132, 199, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(2, 132, 199, 0.6), 0 0 0 15px rgba(2, 132, 199, 0);
  }
}

@keyframes pulseAI {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6), 0 0 0 15px rgba(124, 58, 237, 0);
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__image {
    order: -1;
    height: 300px;
  }

  .contact__container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  /* Header mobile amélioré */
  .header {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
  }

  /* Cache le menu par défaut */
  .nav__menu {
    position: fixed;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    left: 0;
    top: -100vh;
    width: 100vw;
    height: 100vh;
    padding: 4rem 0 3rem;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 999;
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
    opacity: 0;
    visibility: hidden;
  }

  /* Affiche le menu quand la classe .show-menu est active */
  .nav__menu.show-menu {
    top: 0;
    opacity: 1;
    visibility: visible;
  }

  /* Links mobiles centrés et stylés */
  .nav__list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 60vh;
    margin-top: 4rem;
  }

  .nav__link {
    color: var(--title-color);
    font-size: 1.5rem;
    font-weight: var(--font-semi-bold);
    padding: 1rem 2rem;
    border-radius: 1rem;
    transition: var(--transition-medium);
    border: 2px solid transparent;
    min-width: 200px;
    display: block;
  }

  .nav__link:hover,
  .nav__link.active-link {
    background: rgba(6, 182, 212, 0.3);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
  }

  /* Boutons langue mobile en bas */
  .nav__language {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
  }

  .lang-btn {
    background: rgba(6, 182, 212, 0.3);
    border: 2px solid var(--accent-color);
    color: var(--title-color);
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: var(--font-semi-bold);
    border-radius: 0.5rem;
    min-width: 60px;
  }

  .lang-btn.active,
  .lang-btn:hover {
    background: var(--accent-color);
    color: var(--body-color);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.5);
  }

  /* Bouton hamburger visible en mobile */
  .nav__toggle {
    display: block;
    color: var(--title-color);
    font-size: 1.5rem;
    padding: 0.75rem;
    background: rgba(6, 182, 212, 0.3);
    border: 2px solid var(--accent-color);
    border-radius: 0.5rem;
    transition: var(--transition-medium);
    cursor: pointer;
    z-index: 998;
  }

  /* Cache le bouton hamburger quand le menu est ouvert */
  .nav__toggle.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.8);
  }

  .nav__toggle:hover {
    background: var(--accent-color);
    color: var(--body-color);
    transform: scale(1.1);
  }

  /* Bouton fermer dans le menu */
  .nav__close {
    display: block;
    position: absolute;
    top: 4rem;
    right: 2rem;
    color: var(--title-color);
    font-size: 1.5rem;
    padding: 0.75rem;
    background: rgba(220, 38, 38, 0.3);
    border: 2px solid #ef4444;
    border-radius: 50%;
    transition: var(--transition-medium);
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }

  .nav__close:hover {
    background: #ef4444;
    color: var(--body-color);
    transform: scale(1.1) rotate(90deg);
  }

  /* Logo mobile plus visible */
  .nav__logo {
    color: var(--title-color);
    font-size: 1.25rem;
  }

  .nav__logo-img {
    height: 45px;
  }

  .nav__logo-icon {
    color: var(--accent-color);
    font-size: 1.75rem;
  }

  .section {
    padding: 4rem 0 2rem;
  }

  .hero {
    padding: 6rem 0 2rem;
  }

  .hero__buttons {
    justify-content: center;
  }

  .button {
    padding: 0.75rem 1.5rem;
  }

  .expertise__container,
  .services__container {
    grid-template-columns: 1fr;
  }

  .tech-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Repositionne les 3 cercles tech pour être visibles en mobile */
  .tech-icon--cyber {
    top: -30px !important;
    left: -30px !important;
  }

  .tech-icon--blockchain {
    top: -30px !important;
    right: -30px !important;
  }

  .tech-icon--ai {
    bottom: -30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .hero__orb--1 {
    width: 150px;
    height: 150px;
  }

  .hero__orb--2 {
    width: 100px;
    height: 100px;
  }

  .hero__orb--3 {
    width: 80px;
    height: 80px;
  }

  .hero__orb--4 {
    width: 90px;
    height: 90px;
  }

  .hero__title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero__logo-center-img {
    height: 70px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .expertise__card,
  .service__card {
    padding: 2rem 1.5rem;
  }

  .contact__form {
    padding: 2rem 1.5rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .footer__container {
    text-align: center;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
.button:focus,
.nav__link:focus,
.lang-btn:focus,
.contact__form-input:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===== NEWS PAGE STYLES ===== */
.news-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
}

.news-hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.news-hero__description {
  font-size: 1.125rem;
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* News Filters */
.news__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.news__filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--body-color);
  color: var(--text-color);
  border-radius: 2rem;
  font-weight: var(--font-medium);
  transition: var(--transition-medium);
  cursor: pointer;
  font-size: var(--small-font-size);
}

.news__filter-btn:hover,
.news__filter-btn.active {
  background: var(--primary-color);
  color: var(--body-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* News Grid */
.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news__card {
  background: var(--body-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: var(--transition-medium);
  position: relative;
}

.news__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.news__card.featured {
  border: 2px solid var(--primary-color);
}

.news__card.featured::before {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  z-index: 2;
}

.news__card-image {
  width: 100%;
  height: 200px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.news__card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
}

.news__card-placeholder {
  font-size: 3rem;
  color: var(--body-color);
  opacity: 0.7;
}

.news__card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news__card-content {
  padding: 2rem;
}

.news__card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.news__card-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news__card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news__card-title a {
  color: var(--title-color);
  transition: var(--transition-fast);
}

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

.news__card-excerpt {
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.news__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.news__tag {
  background: var(--container-color);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
}

.news__card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.news__external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  transition: var(--transition-fast);
  text-decoration: none;
}

.news__external-link:hover {
  color: var(--primary-color-alt);
  transform: translateX(3px);
}

.news__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news__read-more {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.news__read-more:hover {
  color: var(--primary-color-alt);
  transform: translateX(3px);
}

/* Loading State */
.news__loading {
  text-align: center;
  padding: 3rem 0;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Load More Button */
.news__load-more {
  text-align: center;
  margin-top: 2rem;
}

/* Empty State */
.news__empty {
  text-align: center;
  padding: 4rem 2rem;
}

.news__empty-icon {
  font-size: 4rem;
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
}

.news__empty-title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
}

.news__empty-description {
  color: var(--text-color-light);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: var(--title-color);
}

.newsletter__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
  color: #ffffff; /* Texte blanc pour lisibilité */
}

.newsletter__description {
  color: #e2e8f0; /* Texte blanc/gris clair pour lisibilité */
  line-height: 1.6;
}

.newsletter__form-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter__input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #334155;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff; /* Texte blanc pour l'input */
  font-family: var(--body-font);
  transition: var(--transition-fast);
}

.newsletter__input::placeholder {
  color: #cbd5e1; /* Placeholder plus clair */
}

.newsletter__input:focus {
  border-color: var(--primary-color);
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter__btn {
  flex-shrink: 0;
}

.newsletter__privacy {
  color: #64748b;
  font-size: var(--small-font-size);
  line-height: 1.5;
}

/* Newsletter Messages */
.newsletter__message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  animation: slideInDown 0.3s ease-out;
}

.newsletter__message--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.newsletter__message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.newsletter__message--info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.newsletter__message i {
  font-size: 1.125rem;
  flex-shrink: 0;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design for News */
@media screen and (max-width: 992px) {
  .news__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .newsletter__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .news-hero {
    padding: 6rem 0 3rem;
  }
  
  .news__filters {
    gap: 0.5rem;
  }
  
  .news__filter-btn {
    padding: 0.5rem 1rem;
    font-size: var(--smaller-font-size);
  }
  
  .news__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .news__card-content {
    padding: 1.5rem;
  }
  
  .newsletter__form-container {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .news__card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .news__card-links {
    flex-direction: column;
  }
  
  .news__card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ===== NEWS MODAL STYLES ===== */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

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

.news-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.news-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--body-color);
  border-radius: 1rem;
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.news-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--container-color);
}

.news-modal__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin: 0;
  flex: 1;
  margin-right: 1rem;
}

.news-modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.news-modal__close:hover {
  background: var(--border-color);
  color: var(--title-color);
}

.news-modal__body {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

.news-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.news-modal__category {
  background: var(--primary-color);
  color: var(--body-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-modal__image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.news-modal__text {
  color: var(--text-color);
  line-height: 1.8;
  font-size: var(--normal-font-size);
  margin-bottom: 2rem;
}

.news-modal__links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.news-modal__links h4 {
  margin-bottom: 1rem;
  color: var(--title-color);
}

@media screen and (max-width: 768px) {
  .news-modal__content {
    width: 95%;
    max-height: 95vh;
  }
  
  .news-modal__header {
    padding: 1.5rem;
  }
  
  .news-modal__body {
    padding: 1.5rem;
    max-height: calc(95vh - 100px);
  }
  
  .news-modal__title {
    font-size: var(--h3-font-size);
  }
  
  .news-modal__meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-color: #000000;
    --title-color: #000000;
    --border-color: #000000;
  }
} 

/* ===== NEWS DISABLED STYLES ===== */
.news__disabled {
  text-align: center;
  padding: 4rem 2rem;
  grid-column: 1 / -1;
}

.news__disabled-icon {
  font-size: 4rem;
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.news__disabled-title {
  font-size: 1.5rem;
  color: var(--title-color);
  margin-bottom: 1rem;
  font-weight: var(--font-semi-bold);
}

.news__disabled-description {
  color: var(--text-color-light);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== LEGAL MODAL ===== */
.legal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: var(--z-modal);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.legal-modal.active {
  display: flex;
  opacity: 1;
}

.legal-modal__content {
  background-color: var(--container-color);
  border-radius: 1rem;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--border-color);
}

.legal-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background-color: var(--container-color);
  z-index: 1;
}

.legal-modal__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin: 0;
}

.legal-modal__close {
  background: none;
  border: none;
  color: var(--text-color-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all var(--transition-fast);
}

.legal-modal__close:hover {
  color: var(--text-color);
  background-color: var(--border-color);
}

.legal-modal__body {
  padding: 2rem;
}

.legal-modal__lang-block {
  margin-bottom: 2rem;
}

.legal-modal__lang-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

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

.legal-modal__section h3 {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
  font-weight: var(--font-semi-bold);
}

.legal-modal__section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-modal__section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-modal__section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Footer legal links */
.footer__legal-links {
  margin-top: 0.5rem;
}

.footer__legal-link {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  text-decoration: underline;
  transition: color var(--transition-fast);
  cursor: pointer;
  display: inline-block;
}

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

/* Responsive legal modal */
@media screen and (max-width: 768px) {
  .legal-modal__content {
    width: 95%;
    max-height: 95vh;
  }
  
  .legal-modal__header {
    padding: 1rem 1.5rem;
  }
  
  .legal-modal__title {
    font-size: var(--h3-font-size);
  }
  
  .legal-modal__body {
    padding: 1.5rem;
  }
  
  .legal-modal__lang-title {
    font-size: var(--normal-font-size);
  }
  
  .legal-modal__section h3 {
    font-size: var(--normal-font-size);
  }
} 