/* Bandeau de développement */
.dev-banner {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dev-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dev-banner-icon {
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.dev-banner-text {
    letter-spacing: 0.3px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@media (max-width: 768px) {
    .dev-banner {
        font-size: 0.75rem;
        padding: 6px 0;
    }
    
    .dev-banner-icon {
        font-size: 0.9rem;
    }
}

/* Variables CSS - Palette Basque */
:root {
  /* Couleurs principales - Mode Sombre (défaut) */
  --primary-black: #0a0a0a;
  --basque-red: #d63031;
  --stone-gray: #636e72;
  --off-white: #f8f9fa;
  --pure-white: #ffffff;
  --text-primary: #f8f9fa;
  --text-secondary: #b2bec3;
  
  /* Couleurs secondaires */
  --dark-gray: #2d3436;
  --medium-gray: #636e72;
  --light-gray: #b2bec3;
  --accent-red: #e17055;
  --success-green: #00b894;
  
  /* Couleurs drapeau basque */
  --basque-green: #00a085;
  --basque-white: #ffffff;
  --accent-green: #00d2aa;
  --soft-white: #fafbfc;
  
  /* Gradients */
  --hero-gradient: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
  --card-gradient: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  --red-gradient: linear-gradient(135deg, var(--basque-red) 0%, var(--accent-red) 100%);
  --green-gradient: linear-gradient(135deg, var(--basque-green) 0%, var(--accent-green) 100%);
  --basque-flag-gradient: linear-gradient(45deg, var(--basque-red) 0%, var(--basque-white) 50%, var(--basque-green) 100%);
  --white-gradient: linear-gradient(145deg, var(--basque-white) 0%, var(--soft-white) 100%);
  
  /* Typographie */
  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Espacements */
  --container-max-width: 1200px;
  --section-padding: 120px 0;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Accessibilité */
  --focus-outline: 3px solid var(--basque-green);
  --focus-offset: 2px;
}

/* Skip to content link pour l'accessibilité */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--basque-green);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 20px;
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

/* Amélioration des styles de focus pour l'accessibilité */
*:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

/* Variables CSS - Mode Clair */
[data-theme="light"] {
  /* Couleurs principales - Mode Clair */
  --primary-black: #ffffff;
  --off-white: #fafbfc;
  --pure-white: #ffffff;
  --text-primary: #1a1d29;
  --text-secondary: #6b7280;
  
  /* Couleurs secondaires inversées */
  --dark-gray: #f5f7fa;
  --medium-gray: #9ca3af;
  --light-gray: #e5e7eb;
  
  /* Gradients adaptés */
  --hero-gradient: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  --card-gradient: linear-gradient(145deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.01) 100%);
  --white-gradient: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  
  /* Ombres pour mode clair */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prévention du débordement horizontal */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

/* Contraintes pour éviter les débordements */
.hero-content,
.features-grid,
.steps-container,
.identity-content,
.legal-content,
.eure-content {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  background: var(--primary-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo a:hover,
.nav-logo a:focus,
.nav-logo a:active {
  text-decoration: none;
  background: transparent;
}

.logo {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  color: var(--basque-red) !important;
  background: transparent !important;
}

[data-theme="light"] .logo {
  filter: drop-shadow(0 2px 4px rgba(0, 160, 133, 0.2));
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-left: 12px;
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--basque-green);
  transform: rotate(20deg);
}

.theme-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.theme-icon svg {
  width: 100%;
  height: 100%;
}

[data-theme="light"] .theme-toggle {
  border-color: var(--text-secondary);
}

[data-theme="light"] .theme-toggle:hover {
  background: var(--dark-gray);
  border-color: var(--basque-green);
}

[data-theme="light"] .theme-icon {
  color: var(--text-primary);
}

/* Corrections de contraste en mode clair */
[data-theme="light"] .hero-title,
[data-theme="light"] .section-title,
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3, [data-theme="light"] h4 {
  color: var(--text-primary);
}

[data-theme="light"] .hero-description,
[data-theme="light"] .section-subtitle,
[data-theme="light"] p {
  color: var(--text-secondary);
}

[data-theme="light"] .title-main {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--basque-green) 50%, var(--basque-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .cta-primary {
  background: var(--green-gradient);
  box-shadow: var(--shadow-green);
}

[data-theme="light"] .cta-primary:hover {
  box-shadow: 0 12px 40px rgba(0, 160, 133, 0.4);
}

[data-theme="light"] .lang-btn {
  border-color: var(--light-gray);
  color: var(--text-secondary);
}

[data-theme="light"] .lang-btn:hover {
  border-color: var(--basque-green);
  color: var(--basque-green);
}

[data-theme="light"] .lang-btn.active {
  background: var(--green-gradient);
  border-color: var(--basque-green);
  color: var(--pure-white);
}

.language-selector {
  display: flex;
  gap: 6px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

[data-theme="light"] .language-selector {
  border-left-color: var(--text-secondary);
}

.lang-btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  border-color: var(--basque-red);
  color: var(--basque-red);
}

.lang-btn.active {
  background: var(--red-gradient);
  border-color: var(--basque-red);
  color: var(--pure-white);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--basque-green);
}

[data-theme="dark"] .nav-link:hover {
  color: var(--basque-red);
}

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  position: relative;
  transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: var(--transition-smooth);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Hamburger en mode clair */
[data-theme="light"] .hamburger,
[data-theme="light"] .hamburger::before,
[data-theme="light"] .hamburger::after {
  background: var(--primary-black);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-gradient);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(214, 48, 49, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 160, 133, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 0;
}

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

.hero-title {
  font-family: var(--font-primary);
  margin-bottom: 24px;
}

.title-main {
  display: block;
  font-size: 5rem;
  font-weight: 800;
  background: var(--red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.title-subtitle {
  display: block;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  hyphens: none;
  word-break: keep-all;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-bounce);
  cursor: pointer;
  border: none;
}

.cta-primary {
  background: var(--red-gradient);
  color: var(--pure-white);
  box-shadow: 0 8px 32px rgba(214, 48, 49, 0.3);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(214, 48, 49, 0.4);
}

.cta-secondary {
  background: var(--green-gradient);
  color: var(--basque-white);
  border: 2px solid var(--basque-green);
}

.cta-secondary:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 160, 133, 0.3);
}

.cta-icon {
  width: 20px;
  height: 20px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border-radius: 40px;
  padding: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotateY(0deg); }
  50% { transform: translateY(-10px) rotateY(5deg); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1e1e1e, #0a0a0a);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

/* Herrika Wallet Interface */
.herrika-wallet-interface {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--primary-black), var(--dark-gray));
  color: var(--text-primary);
  font-family: var(--font-primary);
  overflow-y: auto;
  padding: 0;
}

.herrika-wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.herrika-logo-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.herrika-logo {
  font-size: 20px;
}

.herrika-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--basque-green);
}

.herrika-nav-links {
  display: flex;
  gap: 16px;
}

.herrika-balance-section {
  padding: 24px 20px;
  text-align: center;
}

.herrika-main-balance {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.herrika-balance-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.herrika-action-btn {
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
}

.herrika-action-btn.protect {
  border-color: var(--basque-red);
}

.herrika-action-btn.iban {
  border-color: var(--basque-green);
}

.herrika-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.herrika-action-btn.protect:hover {
  border-color: var(--accent-red);
  background: rgba(214, 48, 49, 0.1);
}

.herrika-action-btn.iban:hover {
  border-color: var(--accent-green);
  background: rgba(0, 160, 133, 0.1);
}

.btn-icon {
  font-size: 16px;
}

.herrika-transactions-section {
  padding: 0 20px 20px;
}

.transactions-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.transaction-icon {
  font-size: 20px;
  color: var(--basque-green);
  width: 32px;
  text-align: center;
}

.transaction-details {
  flex: 1;
}

.transaction-type {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.transaction-amount {
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

.transaction-amount.positive {
  color: var(--basque-green);
}

.transaction-amount.negative {
  color: var(--basque-red);
}

.transaction-meta {
  text-align: right;
}

.transaction-date {
  font-size: 11px;
  color: var(--text-secondary);
}

.transaction-status {
  font-size: 11px;
  font-weight: 500;
  margin-top: 2px;
}

.transaction-status.confirmed {
  color: var(--basque-green);
}

.herrika-main-nav {
  display: flex;
  justify-content: space-around;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.nav-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 8px;
  border-radius: var(--border-radius-sm);
}

.nav-btn:hover {
  color: var(--basque-green);
  background: rgba(0, 160, 133, 0.1);
}

.nav-icon {
  font-size: 20px;
}

.nav-btn span {
  font-size: 10px;
  font-weight: 600;
}

/* Sections communes */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--primary-black) 0%, var(--dark-gray) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid .feature-card:nth-child(4) {
  grid-column: 1 / -1;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.feature-card {
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 48, 49, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  padding: 16px;
  background: var(--red-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .feature-icon {
  background: linear-gradient(145deg, rgba(0, 160, 133, 0.1) 0%, rgba(0, 210, 170, 0.15) 100%);
  box-shadow: 0 8px 24px rgba(0, 160, 133, 0.2);
  border: 2px solid rgba(0, 160, 133, 0.2);
}

.feature-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

/* Video Presentation Section */
.video-presentation {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-black) 100%);
}

.video-container {
  width: 100%;
  margin-top: 60px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Demo Section */
.demo {
  padding: var(--section-padding);
  background: var(--primary-black);
}

.demo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.demo-screen {
  width: 100%;
  max-width: 800px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-dots {
  display: flex;
  gap: 8px;
}

.demo-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
}

.demo-dots span:first-child {
  background: #ff5f56;
}

.demo-dots span:nth-child(2) {
  background: #ffbd2e;
}

.demo-dots span:last-child {
  background: #27ca3f;
}

.demo-title {
  font-weight: 600;
  color: var(--text-primary);
}

.demo-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  padding: 30px 20px;
  text-align: center;
}

.demo-cta .cta-primary {
  background: var(--red-gradient);
  border: none;
  border-radius: var(--border-radius);
  color: var(--pure-white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 32px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(214, 48, 49, 0.3);
  min-width: 280px;
  justify-content: center;
}

.demo-cta .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(214, 48, 49, 0.4);
  background: var(--accent-red);
}

/* Basque Identity Section */
.basque-identity {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-black) 100%);
}

.identity-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.identity-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.identity-anecdote {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0, 160, 133, 0.1) 0%, rgba(214, 48, 49, 0.05) 100%);
  border: 1px solid rgba(0, 160, 133, 0.2);
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.identity-anecdote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--green-gradient);
}

.anecdote-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.anecdote-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.anecdote-text strong {
  color: var(--basque-green);
  font-weight: 600;
}

.anecdote-text em {
  color: var(--text-primary);
  font-style: italic;
  font-weight: 500;
}

.identity-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.value-item:hover {
  border-color: rgba(214, 48, 49, 0.3);
  transform: translateX(8px);
}

.value-icon {
  font-size: 2rem;
}

.value-text h4 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.value-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.identity-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.basque-pattern {
  width: 300px;
  height: 300px;
  background: var(--basque-flag-gradient);
  border-radius: 50%;
  position: relative;
  animation: rotate 20s linear infinite;
  box-shadow: 
    0 0 60px rgba(214, 48, 49, 0.3),
    0 0 120px rgba(0, 160, 133, 0.2);
}

.basque-pattern::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: var(--primary-black);
  border-radius: 50%;
}

.lauburu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  z-index: 2;
}

.lauburu-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(214, 48, 49, 0.4));
}

.lauburu-path {
  fill: var(--basque-red);
  animation: lauburu-pulse 3s ease-in-out infinite;
  transform-origin: center;
}

@keyframes lauburu-pulse {
  0%, 100% { 
    opacity: 0.9;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* FAQ Section */
.faq-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
  position: relative;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

.faq-item:hover {
  border-color: var(--basque-green);
  box-shadow: 0 8px 32px rgba(0, 160, 133, 0.15);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--basque-green);
  box-shadow: 0 12px 40px rgba(0, 160, 133, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 16px;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question[aria-expanded="true"],
.faq-item.active .faq-question {
  background: rgba(0, 160, 133, 0.08);
  color: var(--basque-green);
  border-bottom: 1px solid rgba(0, 160, 133, 0.2);
}

.faq-question span {
  flex: 1;
  line-height: 1.4;
}

.faq-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  color: var(--text-secondary);
}

.faq-question:hover .faq-icon {
  color: var(--basque-green);
}

.faq-question[aria-expanded="true"] .faq-icon,
.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
  color: var(--basque-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background: rgba(0, 160, 133, 0.02);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 24px 24px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  padding-top: 8px;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 80px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  color: #ffffff !important;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.footer-column a:hover {
  color: var(--basque-red);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
  display: flex;
  gap: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--basque-red);
  border-color: var(--basque-red);
  transform: translateY(-2px);
}

.footer-copyright {
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-copyright a {
  color: var(--basque-green);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-copyright a:hover {
  color: var(--accent-green);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 95%;
    padding: 0 20px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .features-grid .feature-card:nth-child(3),
  .features-grid .feature-card:nth-child(4) {
    grid-column: 1 / -1;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid .feature-card:nth-child(4) {
    grid-column: 1;
    max-width: 100%;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .identity-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  /* Amélioration des éléments qui peuvent déborder */
  .herrika-wallet-interface {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .herrika-balance-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .herrika-action-btn {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
  }

  /* EURE section for tablets */
  .eure-main {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 60px;
    margin-top: 50px;
  }

  .eure-text {
    order: 1;
    text-align: center;
  }

  .eure-visual {
    order: 2;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .eure-card {
    max-width: 380px;
    padding: 28px;
  }

  .eure-heading {
    font-size: 1.8rem;
  }

  .eure-description {
    font-size: 1rem;
  }

  .eure-feature {
    padding: 18px;
  }

  .conversion-flow {
    gap: 12px;
  }

  .flow-step {
    flex: 1;
    min-width: 80px;
  }

  .eure-cta {
    gap: 14px;
  }

  /* Video section for tablets */
  .video-container {
    margin-top: 50px;
    width: 100%;
  }

  .video-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
    --container-max-width: 100%;
  }

  .container {
    padding: 0 16px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-title {
    margin-bottom: 20px;
  }

  .title-main {
    font-size: 2.8rem;
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
  }

  .title-subtitle {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
  }

  .hero-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .cta-primary, .cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
    box-sizing: border-box;
  }

  .section-title {
    font-size: 2.2rem;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
  }

  .feature-card {
    padding: 24px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .feature-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .feature-description {
    font-size: 0.9rem;
    line-height: 1.5;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
  }

  /* Navigation mobile */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .hamburger {
    width: 24px;
    height: 2px;
    background: var(--off-white);
    transition: all 0.3s ease;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--off-white);
    display: block;
    transform: translateY(-6px);
    transition: all 0.3s ease;
  }

  .hamburger::after {
    transform: translateY(4px);
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Wallet interface mobile */
  .herrika-wallet-interface {
    padding: 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .herrika-wallet-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .herrika-main-balance {
    font-size: 1.8rem;
    text-align: center;
    margin: 20px 0;
  }

  .herrika-balance-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .herrika-action-btn {
    width: 100%;
    padding: 16px;
    font-size: 0.9rem;
    text-align: center;
    box-sizing: border-box;
  }

  .herrika-main-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .nav-btn {
    padding: 12px 8px;
    font-size: 0.8rem;
  }

  .transaction-item {
    padding: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .transaction-details {
    flex: 1;
    min-width: 120px;
  }

  .transaction-meta {
    flex-basis: 100%;
    text-align: left;
  }

  /* EURE section mobile - Version améliorée */
  .eure-main {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 40px;
    margin-top: 40px;
  }

  .eure-text {
    text-align: center;
    order: 1;
  }

  .eure-visual {
    order: 2;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .eure-badge {
    justify-content: center;
    margin: 0 auto 24px auto;
    max-width: fit-content;
  }

  .eure-heading {
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 16px;
  }

  .eure-description {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 32px;
  }

  .eure-features {
    gap: 16px;
    margin-bottom: 32px;
  }

  .eure-feature {
    padding: 16px;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }

  .feature-icon-small {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .feature-content h4 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .feature-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .eure-card {
    padding: 20px;
    max-width: 350px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .card-header {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    text-align: center;
  }

  .monerium-logo {
    justify-content: center;
  }

  .regulation-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .euro-amount {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .euro-type {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .conversion-flow {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .flow-step {
    width: 100%;
    max-width: 200px;
    text-align: center;
    flex: none;
  }

  .step-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    margin: 0 auto;
  }

  .step-text, .status-text {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-top: 8px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    font-size: 1rem;
  }

  .eure-cta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 32px;
  }

  .btn-eure {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 16px 24px;
    font-size: 0.9rem;
  }

  /* Identity section mobile */
  .identity-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-item {
    text-align: center;
    padding: 16px;
  }

  /* Legal section mobile */
  .legal-partners {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partner-item {
    text-align: center;
    padding: 16px;
  }

  /* Video section mobile */
  .video-container {
    margin-top: 40px;
    width: 100%;
  }

  .video-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 8px;
  }

  /* Demo section mobile */
  .demo-container {
    flex-direction: column !important;
    gap: 30px;
  }

  .demo-screen {
    max-width: 100%;
    width: 100%;
  }

  .demo-cta {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .demo-cta .cta-primary {
    width: 100%;
    max-width: 350px;
  }
}

/* Media query pour FAQ déjà incluse dans la section précédente */

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .title-main {
    font-size: 2.2rem;
    line-height: 1.1;
  }
  
  .title-subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.2;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .cta-primary, .cta-secondary {
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .feature-card {
    padding: 20px 12px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.85rem;
  }

  .phone-mockup {
    max-width: 280px;
  }

  .herrika-wallet-interface {
    padding: 10px;
  }

  .herrika-main-balance {
    font-size: 1.6rem;
  }

  .herrika-action-btn {
    padding: 14px;
    font-size: 0.8rem;
  }

  .herrika-main-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .nav-btn {
    padding: 10px 6px;
    font-size: 0.75rem;
  }

  .nav-icon {
    font-size: 1rem;
  }

  .transaction-item {
    padding: 10px;
    font-size: 0.85rem;
  }

  /* EURE section - très petits écrans */
  .eure-main {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 30px;
    margin-top: 30px;
  }

  .eure-text {
    order: 1;
  }

  .eure-visual {
    order: 2;
    margin-top: 20px;
  }

  .eure-badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .badge-icon {
    font-size: 1rem;
  }

  .eure-heading {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .eure-description {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .eure-features {
    gap: 12px;
    margin-bottom: 24px;
  }

  .eure-feature {
    padding: 12px;
    gap: 10px;
  }

  .feature-icon-small {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .feature-content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .feature-content p {
    font-size: 0.8rem;
  }

  .eure-card {
    padding: 16px;
    max-width: 300px;
  }

  .card-header {
    gap: 10px;
    margin-bottom: 20px;
  }

  .logo-circle {
    width: 28px;
    height: 28px;
  }

  .logo-circle::after {
    font-size: 14px;
  }

  .monerium-logo span {
    font-size: 1rem;
  }

  .regulation-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .euro-amount {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }

  .euro-type {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }

  .conversion-flow {
    gap: 12px;
  }

  .flow-step {
    max-width: 160px;
  }

  .step-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .step-text, .status-text {
    font-size: 0.75rem;
  }

  .eure-cta {
    gap: 10px;
    margin-top: 24px;
  }

  .btn-eure {
    max-width: 260px;
    padding: 14px 20px;
    font-size: 0.85rem;
  }

  /* Video section - très petits écrans */
  .video-container {
    margin-top: 30px;
    width: 100%;
  }

  .video-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 6px;
  }

  /* Demo section - très petits écrans */
  .demo-container {
    flex-direction: column !important;
    gap: 20px;
  }

  .demo-cta .cta-primary {
    max-width: 300px;
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .step-title {
    font-size: 1.2rem;
  }

  .step-description {
    font-size: 0.85rem;
  }

  .value-item {
    padding: 12px;
  }

  .partner-item {
    padding: 12px;
  }
}

/* Ajout d'une media query pour très petits écrans */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .title-main {
    font-size: 2rem;
  }

  .title-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .phone-mockup {
    max-width: 260px;
  }

  .herrika-main-balance {
    font-size: 1.4rem;
  }

  .herrika-action-btn {
    padding: 12px;
    font-size: 0.75rem;
  }
}

/* Styles supplémentaires pour garantir un responsive parfait */
@media (max-width: 768px) {
  /* Ajout des styles pour le menu mobile */
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    display: flex !important;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .language-selector {
    margin-top: 20px;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex !important;
  }
}

/* Corrections pour les éléments qui peuvent déborder */
.herrika-wallet-header,
.herrika-balance-section,
.herrika-transactions-section,
.herrika-main-nav {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.transaction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.herrika-nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Assurer que tous les textes restent dans leurs conteneurs */
h1, h2, h3, h4, h5, h6, p, span, div {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Prévention des débordements pour les éléments flex */
.hero-cta,
.herrika-balance-actions,
.herrika-main-nav,
.legal-partners,
.identity-values {
  width: 100%;
  box-sizing: border-box;
}

/* Corrections spécifiques pour les grilles */
.features-grid,
.partners-grid,
.about-stats,
.legal-partners,
.identity-values {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 20px;
}

/* Assurer que les images ne débordent jamais */
img, svg, video {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* Corrections pour le phone mockup */
.phone-mockup {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  box-sizing: border-box;
}

.phone-screen {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* EURE Monerium Section */
.eure-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
}

.eure-content {
  width: 100%;
}

.eure-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.eure-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--green-gradient);
  border-radius: 20px;
  margin-bottom: 24px;
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  color: var(--basque-white);
  font-size: 0.9rem;
  font-weight: 600;
}

.eure-heading {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.eure-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.eure-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.eure-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.eure-feature:hover {
  border-color: var(--basque-green);
  transform: translateX(4px);
}

.feature-icon-small {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 160, 133, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-content h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.eure-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eure-card {
  width: 100%;
  max-width: 400px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.eure-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-gradient);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.monerium-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 32px;
  height: 32px;
  background: var(--green-gradient);
  border-radius: 50%;
  position: relative;
}

.logo-circle::after {
  content: 'M';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.monerium-logo span {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.regulation-badge {
  padding: 4px 12px;
  background: rgba(0, 160, 133, 0.2);
  border: 1px solid var(--basque-green);
  border-radius: 12px;
  color: var(--basque-green);
  font-size: 0.8rem;
  font-weight: 600;
}

.euro-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}

.euro-type {
  text-align: center;
  color: var(--basque-green);
  font-weight: 600;
  margin-bottom: 32px;
}

/* Legal Section */
.legal-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-black) 100%);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.legal-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 60px;
}

.legal-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.partner-item {
  padding: 32px 24px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition-smooth);
}

.partner-item:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 48, 49, 0.3);
}

.partner-item:nth-child(2) {
  border-top: 3px solid var(--basque-green);
}

.partner-item:nth-child(2):hover {
  border-color: var(--basque-green);
  box-shadow: 0 8px 32px rgba(0, 160, 133, 0.2);
}

.partner-item:nth-child(3) {
  border-top: 3px solid var(--basque-white);
}

.partner-item:nth-child(3):hover {
  border-color: var(--basque-white);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.partner-logo {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.partner-name {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.partner-role {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* How it works Section */
.how-it-works {
  padding: var(--section-padding);
  background: var(--primary-black);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.step {
  display: grid;
  grid-template-columns: 100px 1fr 200px;
  gap: 40px;
  align-items: center;
}

.step:nth-child(even) {
  grid-template-columns: 200px 1fr 100px;
}

.step:nth-child(even) .step-number {
  order: 3;
}

.step:nth-child(even) .step-visual {
  order: 1;
}

.step-number {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 700;
  background: var(--red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.step-content {
  padding: 32px;
}

.step-title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.step-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.step-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-icon {
  width: 120px;
  height: 120px;
  background: var(--card-gradient);
  border: 2px solid rgba(214, 48, 49, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.step-icon:hover {
  transform: scale(1.1);
  border-color: var(--basque-red);
}

.step-icon svg {
  width: 48px;
  height: 48px;
  color: var(--basque-red);
}

/* About Section */
.about {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.about-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about-team {
  padding: 40px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  text-align: center;
}

.about-team h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.about-team p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.team-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--green-gradient);
  color: var(--basque-white);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.team-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 160, 133, 0.3);
}

/* Wallet Interface Legacy */
.wallet-interface {
  padding: 40px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wallet-header {
  text-align: center;
}

.wallet-balance {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.wallet-iban {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.wallet-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.action-btn {
  padding: 12px 20px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.action-btn:nth-child(1) {
  border-left: 3px solid var(--basque-red);
}

.action-btn:nth-child(2) {
  border-left: 3px solid var(--basque-green);
}

.action-btn:nth-child(3) {
  border-left: 3px solid var(--basque-white);
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Demo Balance */
.demo-balance {
  text-align: center;
  padding: 32px;
  background: var(--card-gradient);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.balance-change {
  color: var(--basque-green);
  font-size: 0.95rem;
  font-weight: 500;
}

.demo-iban {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: var(--card-gradient);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.iban-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.iban-number {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.iban-copy {
  padding: 8px 16px;
  background: var(--basque-red);
  color: var(--pure-white);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.iban-copy:hover {
  background: var(--basque-green);
}

.demo-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.demo-btn {
  padding: 16px 32px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.demo-btn.primary {
  background: var(--red-gradient);
  color: var(--pure-white);
}

.demo-btn.secondary {
  background: var(--green-gradient);
  color: var(--basque-white);
  border: 2px solid var(--basque-green);
}

.demo-btn:hover {
  transform: translateY(-2px);
}

.demo-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
}

/* Herrika View All Button */
.herrika-view-all-btn {
  width: 100%;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 16px;
  transition: var(--transition-smooth);
}

.herrika-view-all-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--basque-green);
}

/* Conversion Flow */
.conversion-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  overflow: hidden;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.step-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.step-text, .status-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.flow-arrow {
  color: var(--basque-green);
  font-size: 1.2rem;
  font-weight: bold;
}

/* EURE CTA */
.eure-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-eure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-eure.primary {
  background: var(--green-gradient);
  color: var(--basque-white);
  border-color: var(--basque-green);
}

.btn-eure.primary:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 160, 133, 0.3);
}

.btn-eure.secondary {
  background: transparent;
  color: var(--basque-green);
  border-color: var(--basque-green);
}

.btn-eure.secondary:hover {
  background: rgba(0, 160, 133, 0.1);
  transform: translateY(-2px);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* How It Works CTA */
.how-it-works-cta {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-large {
  padding: 18px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 320px;
  justify-content: center;
}

.cta-large .cta-icon {
  width: 20px;
  height: 20px;
  margin-left: 12px;
}

/* Step Alternating Colors */
.step:nth-child(2) .step-icon {
  border-color: rgba(0, 160, 133, 0.3);
}

.step:nth-child(2) .step-icon:hover {
  border-color: var(--basque-green);
}

.step:nth-child(2) .step-icon svg {
  color: var(--basque-green);
}

.step:nth-child(3) .step-icon {
  border-color: rgba(255, 255, 255, 0.3);
}

.step:nth-child(3) .step-icon:hover {
  border-color: var(--basque-white);
}

.step:nth-child(3) .step-icon svg {
  color: var(--basque-white);
}

/* Value Item Colors */
.value-item:nth-child(2) {
  border-left: 3px solid var(--basque-green);
}

.value-item:nth-child(2):hover {
  border-color: var(--basque-green);
  background: linear-gradient(145deg, rgba(0, 160, 133, 0.05) 0%, rgba(0, 160, 133, 0.02) 100%);
}

.value-item:nth-child(3) {
  border-left: 3px solid var(--basque-white);
}

.value-item:nth-child(3):hover {
  border-color: var(--basque-white);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

/* Feature Card Colors */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-gradient);
  transform: translateX(-100%);
  transition: var(--transition-smooth);
}

.feature-card:nth-child(2)::before {
  background: var(--green-gradient);
}

.feature-card:nth-child(3)::before {
  background: var(--white-gradient);
}

.feature-card:nth-child(4)::before {
  background: var(--basque-flag-gradient);
}

.feature-card:hover::before {
  transform: translateX(0);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--green-gradient);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--white-gradient);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--basque-flag-gradient);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--basque-green);
}

/* Modern Feature Icons */
.modern-feature-icon {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--basque-green);
  transition: var(--transition-smooth);
  opacity: 0.9;
}

.feature-card:hover .modern-feature-icon {
  stroke: var(--accent-green);
  transform: scale(1.05);
  opacity: 1;
}

/* Specific icon enhancements */
.modern-feature-icon circle[fill="currentColor"] {
  fill: var(--basque-green);
}

.feature-card:hover .modern-feature-icon circle[fill="currentColor"] {
  fill: var(--accent-green);
}

/* SVG Icons Global Styles */
svg {
  display: block;
  flex-shrink: 0;
}

/* CTA Icons */
.cta-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
}

/* FAQ Icons */
.faq-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
  fill: none;
  stroke: currentColor;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  color: var(--text-secondary);
}

/* Button Icons */
.btn-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
}

/* Feature Icons */
.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
  color: var(--pure-white);
}

/* Step Icons in How It Works */
.step-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
  color: var(--basque-red);
}

/* Social Icons */
.social-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
}

/* Logo SVG */
.logo {
  width: 32px;
  height: 32px;
  display: block;
}

/* Lauburu SVG */
.lauburu-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(214, 48, 49, 0.4));
}

.lauburu-path {
  fill: var(--basque-red);
  animation: lauburu-pulse 3s ease-in-out infinite;
  transform-origin: center;
}

/* Partner Logos */
.partner-logo {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

/* Ensure all SVGs are visible */
svg:not(.lauburu-svg) {
  stroke: currentColor;
  fill: none;
}

/* Fix for invisible SVGs */
.feature-card svg,
.step-icon svg,
.cta-icon,
.faq-icon,
.btn-icon {
  opacity: 1;
  visibility: visible;
}

/* Specific fixes for common issues */
.hero .cta-icon,
.demo-cta .cta-icon {
  stroke: currentColor;
  fill: none;
  opacity: 1;
}

/* FAQ specific fixes */
.faq-question .faq-icon {
  stroke: var(--light-gray);
  fill: none;
  opacity: 1;
}

.faq-question:hover .faq-icon {
  stroke: var(--basque-green);
}

.faq-question[aria-expanded="true"] .faq-icon,
.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
  stroke: var(--basque-green);
}

/* EURE button icons */
.btn-eure .btn-icon {
  stroke: currentColor;
  fill: none;
  opacity: 1;
}

/* DeFi Modern Icons Styles */
.defi-bank-icon,
.defi-shield-icon,
.defi-iban-icon,
.defi-security-icon,
.defi-globe-icon,
.defi-link-icon,
.defi-euro-icon,
.defi-lightning-icon,
.defi-institution-icon,
.defi-digital-euro-icon,
.defi-bank-secure-icon {
  width: 100%;
  height: 100%;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
  transition: var(--transition-smooth);
}

/* Herrika Wallet Interface Icons */
.herrika-logo .defi-bank-icon {
  width: 20px;
  height: 20px;
  color: var(--basque-green);
  filter: drop-shadow(0 0 4px rgba(0, 160, 133, 0.3));
}

.herrika-action-btn .defi-shield-icon {
  width: 16px;
  height: 16px;
  color: var(--basque-red);
}

.herrika-action-btn .defi-iban-icon {
  width: 16px;
  height: 16px;
  color: var(--basque-green);
}

/* Step Illustrations Icons */
.security-shield .defi-security-icon {
  width: 28px;
  height: 28px;
  color: var(--basque-red);
  filter: drop-shadow(0 0 8px rgba(214, 48, 49, 0.6));
}

.globe .defi-globe-icon {
  width: 40px;
  height: 40px;
  color: var(--basque-green);
  filter: drop-shadow(0 0 8px rgba(0, 160, 133, 0.3));
}

/* Partner Icons */
.partner-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}

/* Gnosis logo - remove background */
.partner-logo-img[src*="gnosis"] {
  mix-blend-mode: normal;
  filter: brightness(1.1) contrast(1.1);
}

[data-theme="light"] .partner-logo-img {
  filter: brightness(0.9);
  mix-blend-mode: darken;
}

[data-theme="light"] .partner-logo-img[src*="gnosis"] {
  mix-blend-mode: normal;
  filter: brightness(1) contrast(1.1);
}

.partner-logo .defi-link-icon {
  width: 40px;
  height: 40px;
  color: var(--basque-red);
  stroke-width: 2.5;
}

.partner-logo .defi-euro-icon {
  width: 40px;
  height: 40px;
  color: var(--basque-green);
  stroke-width: 2.5;
}

.partner-logo .defi-euro-icon circle {
  fill: rgba(0, 160, 133, 0.1);
  stroke: var(--basque-green);
}

.partner-logo .defi-euro-icon path,
.partner-logo .defi-euro-icon line {
  stroke: var(--basque-green);
  stroke-width: 2;
  stroke-linecap: round;
}

.partner-logo .defi-lightning-icon {
  width: 40px;
  height: 40px;
  color: var(--basque-white);
  stroke-width: 2.5;
}

/* Badge and Feature Icons */
.badge-icon.defi-institution-icon {
  width: 20px;
  height: 20px;
  color: var(--basque-green);
  stroke-width: 2.5;
}

.feature-icon-small .defi-digital-euro-icon,
.feature-icon-small .defi-bank-secure-icon {
  width: 24px;
  height: 24px;
  color: var(--basque-green);
  stroke-width: 2;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--basque-green);
  stroke-width: 2.5;
  fill: none;
}

[data-theme="light"] .feature-icon svg {
  stroke: var(--basque-green);
  stroke-width: 2.5;
}

/* Icon Hover Effects */
.herrika-action-btn:hover .defi-shield-icon {
  color: var(--accent-red);
  transform: scale(1.1);
}

.herrika-action-btn:hover .defi-iban-icon {
  color: var(--accent-green);
  transform: scale(1.1);
}

.partner-item:hover .defi-link-icon,
.partner-item:hover .defi-euro-icon,
.partner-item:hover .defi-lightning-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px currentColor);
}

/* Icon Animations */
.defi-security-icon {
  animation: securityPulse 3s infinite;
}

.defi-globe-icon {
  animation: globeRotate 8s linear infinite;
}

.defi-lightning-icon {
  animation: lightningGlow 2s infinite;
}

@keyframes securityPulse {
  0%, 100% { 
    opacity: 0.8;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes globeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes lightningGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 4px currentColor);
  }
  50% { 
    filter: drop-shadow(0 0 12px currentColor);
  }
}

/* Step Illustrations Styles */
.step-image {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-illustration {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step 1: Revolutionary Finance Creation */
.wallet-creation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-icon {
  position: relative;
  width: 100px;
  height: 80px;
}

.wallet-body {
  width: 90px;
  height: 60px;
  background: var(--red-gradient);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 8px 24px rgba(214, 48, 49, 0.3);
}

.wallet-body::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" stroke="white" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><path d="M8 12h8"/><path d="M12 8v8"/></svg>') no-repeat center;
  background-size: contain;
  z-index: 2;
}

.wallet-flap {
  width: 80px;
  height: 25px;
  background: var(--green-gradient);
  border: 2px solid var(--basque-green);
  border-radius: 8px 8px 0 0;
  position: absolute;
  top: -12px;
  left: 5px;
  box-shadow: 0 4px 12px rgba(0, 160, 133, 0.2);
}

.security-shield {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 28px;
  animation: revolutionPulse 2s infinite;
  filter: drop-shadow(0 0 8px rgba(214, 48, 49, 0.6));
}

.creation-particles {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--basque-green);
  border-radius: 50%;
  animation: revolutionFloat 3s infinite ease-in-out;
  box-shadow: 0 0 8px rgba(0, 160, 133, 0.4);
}

.particle:nth-child(1) {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 65%;
  right: 10%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  bottom: 25%;
  left: 15%;
  animation-delay: 2s;
}

@keyframes revolutionPulse {
  0%, 100% { 
    opacity: 0.8;
    transform: scale(1) rotate(0deg);
  }
  50% { 
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
  }
}

@keyframes revolutionFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-15px) scale(1.2);
    opacity: 1;
  }
}

/* Step 2: European IBAN Integration */
.iban-generation {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
}

.bank-card {
  width: 90px;
  height: 55px;
  background: var(--green-gradient);
  border-radius: 10px;
  padding: 10px;
  position: relative;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 160, 133, 0.3);
  transform: perspective(200px) rotateY(-10deg);
}

.bank-card::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 8px;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" stroke="white" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><path d="M8 12h8"/><path d="M12 8v8"/></svg>') no-repeat center;
  background-size: contain;
}

.card-chip {
  width: 14px;
  height: 12px;
  background: linear-gradient(145deg, #ffd700, #ffed4e);
  border-radius: 3px;
  margin-bottom: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-number {
  font-size: 9px;
  font-weight: bold;
  margin-bottom: 3px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.card-logo {
  font-size: 7px;
  font-weight: bold;
  text-align: right;
  opacity: 0.9;
}

.connection-line {
  width: 35px;
  height: 3px;
  background: linear-gradient(90deg, var(--basque-green), var(--accent-green));
  position: relative;
  animation: europeanFlow 2s infinite;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 160, 133, 0.4);
}

.connection-line::before {
  content: '→';
  position: absolute;
  top: -8px;
  right: -5px;
  color: var(--basque-green);
  font-size: 16px;
  font-weight: bold;
  animation: arrowPulse 1s infinite;
}

.blockchain-node {
  position: relative;
  width: 50px;
  height: 50px;
}

.node-core {
  width: 25px;
  height: 25px;
  background: var(--red-gradient);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(214, 48, 49, 0.4);
}

.node-core::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" stroke="white" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><path d="M8 12h4"/><path d="M8 8h6"/><path d="M8 16h6"/></svg>') no-repeat center;
  background-size: contain;
}

.node-ring {
  width: 50px;
  height: 50px;
  border: 3px solid var(--basque-green);
  border-radius: 50%;
  position: absolute;
  animation: europeanRotate 4s linear infinite;
  opacity: 0.7;
  border-style: dashed;
}

@keyframes europeanFlow {
  0%, 100% { 
    opacity: 0.7;
    transform: scaleX(1);
  }
  50% { 
    opacity: 1;
    transform: scaleX(1.1);
  }
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes europeanRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Step 3: European Payment Revolution */
.payment-flow {
  display: flex;
  align-items: center;
  gap: 30px;
}

.euro-coin {
  position: relative;
  width: 60px;
  height: 60px;
}

.coin-face {
  width: 60px;
  height: 60px;
  background: var(--green-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 160, 133, 0.4);
}

.coin-face::before {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" stroke="white" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><path d="M8 12h4"/><path d="M8 8h6"/><path d="M8 16h6"/></svg>') no-repeat center;
  background-size: contain;
  z-index: 3;
}

.coin-edge {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  top: 0;
  left: 0;
  animation: europeanSpin 3s linear infinite;
  border-style: dashed;
}

.transfer-arrow {
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: column;
  gap: 5px;
}

.arrow-body {
  width: 35px;
  height: 4px;
  background: linear-gradient(90deg, var(--basque-green), var(--basque-red));
  animation: revolutionPulse 2s infinite;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(214, 48, 49, 0.3);
}

.arrow-head {
  width: 0;
  height: 0;
  border-left: 10px solid var(--basque-red);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  filter: drop-shadow(0 0 4px rgba(214, 48, 49, 0.4));
}

.arrow-body::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" stroke="%23d63031" xmlns="http://www.w3.org/2000/svg"><polygon points="13,2 3,14 12,14 11,22 21,10 12,10 13,2"/></svg>') no-repeat center;
  background-size: contain;
  animation: lightningFlash 1.5s infinite;
}

.global-network {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe {
  font-size: 40px;
  animation: europeanPulse 3s infinite;
  filter: drop-shadow(0 0 8px rgba(0, 160, 133, 0.3));
}

.network-dots {
  position: absolute;
  width: 70px;
  height: 70px;
}

.dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--basque-red);
  border-radius: 50%;
  animation: europeanBlink 2s infinite;
  box-shadow: 0 0 6px rgba(214, 48, 49, 0.4);
}

.dot:nth-child(1) {
  top: 8px;
  right: 18px;
  animation-delay: 0s;
}

.dot:nth-child(2) {
  bottom: 8px;
  left: 12px;
  animation-delay: 0.7s;
}

.dot:nth-child(3) {
  top: 50%;
  right: 8px;
  animation-delay: 1.4s;
}

@keyframes europeanSpin {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.05); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes lightningFlash {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes europeanPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.9;
  }
  50% { 
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes europeanBlink {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.3;
    transform: scale(1.2);
  }
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Responsive pour les steps */
@media (max-width: 1024px) {
  .step {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .step:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .step:nth-child(even) .step-number,
  .step:nth-child(even) .step-visual {
    order: initial;
  }
  
  .step-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }
}

/* Animations JavaScript déplacées du script.js */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.loaded {
  opacity: 1;
  transform: translateY(0);
}

.animate-in {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .nav-menu.active {
  background: rgba(255, 255, 255, 0.98);
  border-top-color: rgba(0, 0, 0, 0.1);
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
}