/* ============================================================
   TALENTYS.EU — Design System
   The Leading Pure Player in OpenMetadata & Cloudera
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Colors — Primary */
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1d4ed8;
  --color-primary-50: #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-900: #1e3a5f;

  /* Colors — Secondary (Teal/Cloudera) */
  --color-secondary: #0891b2;
  --color-secondary-light: #22d3ee;
  --color-secondary-dark: #0e7490;

  /* Colors — Accent (OpenMetadata orange) */
  --color-accent: #f97316;
  --color-accent-light: #fb923c;
  --color-accent-dark: #ea580c;

  /* Colors — Neutrals (clean readable palette) */
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafb;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-surface: #f1f3f5;
  --color-border: #d0d7de;
  --color-border-light: #e5e9ed;
  --color-text: #0d1117;
  --color-text-secondary: #333842;
  --color-text-muted: #525962;
  --color-text-inverse: #f8fafc;

  /* Colors — Semantic */
  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font sizes — readable (minimum 14px on mobile) */
  --text-xs: clamp(0.875rem, 0.8rem + 0.25vw, 0.9375rem);
  --text-sm: clamp(0.9375rem, 0.875rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.9375rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.125rem + 0.75vw, 1.375rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.5vw, 1.75rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 2vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 2.75rem);
  --text-5xl: clamp(2.75rem, 2rem + 3.5vw, 3.5rem);
  --text-6xl: clamp(3.5rem, 2.5rem + 5vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows (unified — enhanced depth) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
  --shadow-glow-accent: 0 0 20px rgba(249, 115, 22, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;

  /* Header */
  --header-height: 72px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* --- Skip to content (accessibility) --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-20) 0;
}

.section--dark {
  background: #f8fafb;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text);
}

.section--dark p {
  color: var(--color-text-secondary);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
}

.section--dark .section__label {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-50);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1024px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
}

/* Partner / Technology Cards */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
}

.partner-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 30px -8px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
}

.partner-card img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.partner-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text);
}

.header__logo img,
.header__logo svg {
  height: 56px;
  width: auto;
}

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

.header__logo:hover .header__logo-text {
  color: var(--color-primary);
}

.header__logo-text {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    order: 99;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    flex-direction: column;
    background: var(--color-bg);
    padding: var(--space-6) var(--space-6) var(--space-12);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    gap: var(--space-1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: var(--z-overlay);
    box-shadow: var(--shadow-xl);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav__link {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
    border-radius: var(--radius-lg);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  .nav__link:last-child {
    border-bottom: none;
  }

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

  .nav__actions {
    width: 100%;
    flex-direction: column;
    margin-top: var(--space-8);
  }

  .nav__actions .btn--primary {
    width: 100%;
    justify-content: center;
    padding: var(--space-4);
    font-size: var(--text-base);
  }

  .nav__actions .settings-toggle,
  .nav__actions .lang-switcher {
    align-self: center;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

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

.btn--secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--color-accent-dark);
  color: #fff;
  box-shadow: var(--shadow-glow-accent);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
}

.btn--ghost:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(8, 145, 178, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-8);
}

.hero__title {
  font-size: var(--text-6xl);
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 650px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

@media (max-width: 640px) {
  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-8);
  }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-50);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.card__list {
  margin-top: var(--space-4);
}

.card__list li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* Light elevated card variant for section--dark */
.section--dark .card {
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.section--dark .card:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.section--dark .card__title {
  color: var(--color-text);
}

.section--dark .card__text,
.section--dark .card__list li {
  color: var(--color-text-secondary);
}

/* ============================================================
   CLIENT LOGOS / TRUST BAR
   ============================================================ */
.trust-bar {
  padding: var(--space-12) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-bar__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-bar__logo {
  height: 40px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(40%);
  transition: all var(--transition-base);
}

.trust-bar__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ============================================================
   CASE STUDIES / REFERENCES
   ============================================================ */
.case-study {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border-left: 4px solid var(--color-primary);
}

.case-study__client {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.case-study__meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.case-study__tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-50);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.case-study__section {
  margin-bottom: var(--space-3);
}

.case-study__section strong {
  color: var(--color-text);
}

/* ============================================================
   CONTACT / FORM SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-50);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.contact-info__value {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.contact-info__value a {
  color: var(--color-primary);
}

/* Form */
.form__group {
  margin-bottom: var(--space-5);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-alt);
  border-top: 2px solid var(--color-border);
  color: var(--color-text);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  max-width: 300px;
}

.footer__brand .header__logo-text {
  font-size: var(--text-lg);
  color: var(--color-text);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  gap: var(--space-4);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

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

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-switcher__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 140px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: var(--z-dropdown);
}

.lang-switcher__dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__option {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-align: left;
  transition: all var(--transition-fast);
}

.lang-switcher__option:hover {
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.lang-switcher__option.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  max-width: 480px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-overlay);
  transform: translateY(200%);
  transition: transform var(--transition-slow);
}

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

.cookie-consent__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.cookie-consent__actions {
  display: flex;
  gap: var(--space-3);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: var(--space-4); }
.gap-8 { gap: var(--space-8); }

/* --- Page Header (inner pages) --- */
.page-header {
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-header h1 {
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.page-header p {
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Breadcrumbs --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

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

.breadcrumb__sep {
  color: var(--color-text-muted);
  opacity: 0.5;
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   LEGAL CONTENT (Privacy Policy, Terms of Service)
   ============================================================ */
.legal-content {
  line-height: 1.8;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

.legal-content ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.legal-content li {
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

.legal-content li::marker {
  color: var(--color-primary);
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.legal-content strong {
  color: var(--color-text);
  font-weight: 600;
}

/* page-header subtitle for legal */
.page-header__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

/* ============================================================
   ANIMATIONS (works with AOS or standalone)
   ============================================================ */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback for no-JS */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .header,
  .footer,
  .cookie-consent,
  .back-to-top,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    background: #fff;
    color: #000;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}

/* ========================================
   WHATSAPP FLOATING BUTTON — DISABLED (moved to menu)
   ======================================== */
.whatsapp-float {
  display: none !important;
}

/* Old styling kept for reference but disabled
.whatsapp-float {
  position: fixed;
  bottom: var(--space-2xl);
  right: var(--space-2xl);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s var(--transition-smooth);
}

.whatsapp-float.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-float__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.whatsapp-float__link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
  color: white;
}

.whatsapp-float__link svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + var(--space-sm));
  top: 50%;
  transform: translateY(-50%);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: var(--color-text);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}

.whatsapp-float__link:hover + .whatsapp-float__tooltip,
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 99, 235, 0.7); }
}

.whatsapp-float.visible .whatsapp-float__link {
  animation: whatsapp-pulse 3s ease-in-out infinite;
}

/* RTL adjustment for WhatsApp */
[dir="rtl"] .whatsapp-float {
  right: auto;
  left: var(--space-2xl);
}

[dir="rtl"] .whatsapp-float__tooltip {
  right: auto;
  left: calc(100% + var(--space-sm));
}

/* ========================================
   SETTINGS PANEL
   ======================================== */
.settings-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.settings-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.settings-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.settings-toggle:hover svg {
  transform: rotate(60deg);
}

.settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.settings-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.settings-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--color-bg);
  border-left: 1px solid var(--color-border);
  z-index: 1100;
  transition: right 0.35s var(--transition-smooth);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.settings-panel.open {
  right: 0;
}

[dir="rtl"] .settings-panel {
  right: auto;
  left: -400px;
  border-left: none;
  border-right: 1px solid var(--color-border);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .settings-panel.open {
  left: 0;
}

.settings-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.settings-panel__header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.settings-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.settings-panel__close:hover {
  color: var(--color-error);
  border-color: var(--color-error);
}

.settings-panel__body {
  padding: var(--space-xl);
}

.settings-section {
  margin-bottom: var(--space-2xl);
}

.settings-section__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Language Grid in Settings */
.settings-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.settings-lang-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.settings-lang-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  background: rgba(59, 130, 246, 0.05);
}

.settings-lang-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}


.settings-lang-btn[data-lang="zgh"] {
  font-family: 'Noto Sans Tifinagh', 'Ebrima', var(--font-primary);
}

/* Expanded language dropdown (scrollable for 14 items) */
.lang-switcher__dropdown {
  max-height: 400px;
  overflow-y: auto;
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}


/* ========================================
   RTL SUPPORT (Arabic & Tamazight)
   ======================================== */
[lang="ar"] body,
[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', 'Segoe UI', 'Tahoma', var(--font-primary);
  font-weight: 500;
}

[lang="ar"],
[lang="zgh"],
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[lang="ar"] .nav-links,
[lang="zgh"] .nav-links,
[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[lang="ar"] .hero-cta,
[lang="zgh"] .hero-cta,
[dir="rtl"] .hero-cta {
  flex-direction: row-reverse;
}

[lang="ar"] .footer-content,
[lang="zgh"] .footer-content,
[dir="rtl"] .footer-content {
  direction: rtl;
}

[lang="ar"] ul,
[lang="ar"] ol,
[lang="zgh"] ul,
[lang="zgh"] ol,
[dir="rtl"] ul,
[dir="rtl"] ol {
  padding-right: 1.5rem;
  padding-left: 0;
}

[lang="ar"] .btn i,
[lang="zgh"] .btn i,
[dir="rtl"] .btn i {
  margin-right: 0;
  margin-left: 0.5rem;
}

[lang="ar"] .feature-card,
[lang="zgh"] .feature-card,
[dir="rtl"] .feature-card {
  text-align: right;
}

[lang="ar"] .feature-list li::before,
[lang="zgh"] .feature-list li::before,
[dir="rtl"] .feature-list li::before {
  right: 0;
  left: auto;
}

[lang="ar"] .feature-list li,
[lang="zgh"] .feature-list li,
[dir="rtl"] .feature-list li {
  padding-left: 0;
  padding-right: var(--space-lg);
}

[dir="rtl"] .lang-switcher {
  padding-right: var(--space-lg);
  padding-left: 0;
  margin-right: var(--space-lg);
  margin-left: 0;
  border-right: 1px solid var(--color-border);
  border-left: none;
}

/* Tamazight (Berber/Amazigh script — also RTL) */
[lang="zgh"] body {
  font-family: 'Noto Sans Tifinagh', 'Ebrima', 'Noto Sans', 'Segoe UI', var(--font-primary);
}

/* Chinese (Simplified) */
[lang="zh"] body,
[lang="zh"] * {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', var(--font-primary) !important;
}

[lang="zh"] h1,
[lang="zh"] h2,
[lang="zh"] h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Russian (Cyrillic script) */
[lang="ru"] body,
[lang="ru"] * {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', var(--font-primary) !important;
}

/* Korean (Hangul script) */
[lang="ko"] body,
[lang="ko"] * {
  font-family: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', var(--font-primary) !important;
}

[lang="ko"] h1,
[lang="ko"] h2,
[lang="ko"] h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Japanese */
[lang="ja"] body,
[lang="ja"] * {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Meiryo', var(--font-primary) !important;
}

[lang="ja"] h1,
[lang="ja"] h2,
[lang="ja"] h3 {
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Hindi (Devanagari script) */
[lang="hi"] body,
[lang="hi"] * {
  font-family: 'Noto Sans Devanagari', 'Mangal', var(--font-primary) !important;
}

/* Spanish, Portuguese, German, Turkish — use default Inter */
[lang="es"] body,
[lang="pt"] body,
[lang="br"] body,
[lang="de"] body,
[lang="tr"] body {
  font-family: var(--font-primary);
}

/* ============================================================
   OPEN SOURCE / REPO CARDS
   ============================================================ */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.repo-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.repo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.repo-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.repo-card:hover::before {
  opacity: 1;
}

.repo-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.repo-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-50);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.repo-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;
}

.repo-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-4);
}

.repo-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.repo-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.repo-card__badge svg {
  width: 14px;
  height: 14px;
}

.repo-card__lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.repo-card__lang-dot--python { background: #3572A5; }
.repo-card__lang-dot--typescript { background: #2b7489; }
.repo-card__lang-dot--jupyter { background: #DA5B0B; }

.repo-card__link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.repo-card__link:hover {
  color: var(--color-primary-dark, #1d4ed8);
  text-decoration: underline;
}

/* ============================================================
   VIDEO EMBED GRID
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-8);
}

.video-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.video-card__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--color-surface);
}

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

.video-card__body {
  padding: var(--space-5);
}

.video-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.video-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* OSS Stats Bar */
.oss-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  margin: var(--space-12) 0;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.oss-stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

.oss-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .repo-grid {
    grid-template-columns: 1fr;
  }

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

  .oss-stats {
    flex-wrap: wrap;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: var(--space-lg);
    right: var(--space-lg);
  }

  .whatsapp-float__link {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__link svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }

  .settings-panel {
    width: 100%;
    max-width: 100vw;
  }

  [dir="rtl"] .whatsapp-float {
    left: var(--space-lg);
  }
}
