/* ══════════════════════════════════════════════════════════════════════════
   RENTADOMUS HOME — Premium Redesign
   Apple / Revolut quality — dark theme, animated, fluid typography
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body.home-page {
  background: #05070d;
  color: #f0f4ff;
  font-family: var(--rd-font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home-page main {
  position: relative;
}

/* ── Override legacy scroll-snap from styles.css ─────────────────────────── */
/* Old home page used 100vh snap sections — new design is free-scroll */
body.home-page {
  scroll-snap-type: none !important;
}
body.home-page section:not(.hero-section) {
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  justify-content: initial;
  align-items: initial;
  scroll-snap-align: none !important;
}
/* Hero keeps its flex centering and full-screen height */
body.home-page .hero-section {
  display: flex !important;
  min-height: min(100svh, 900px) !important;
  height: auto !important;
  scroll-snap-align: none !important;
}

/* ── Section kicker label ─────────────────────────────────────────────────── */
.section-kicker {
  display: inline-block;
  font-size: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5ac8fa;
  margin: 0 0 14px;
}

/* ══════════════════════════════════════════════════════════════════════════
   §1 — HERO
   ══════════════════════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #05070d;
  padding: 100px 0 80px;
}

/* Grid pattern overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 140, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 140, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

/* Background orbs */
.hero-orb, .bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  will-change: transform;
}


.hero-orb--1,
.orb-a {
  width: clamp(480px, 50vw, 720px);
  height: clamp(480px, 50vw, 720px);
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(26, 140, 255, 0.32) 0%, rgba(26, 140, 255, 0.06) 55%, transparent 72%);
  animation: orbFloat 14s ease-in-out infinite alternate;
}


.hero-orb--2,
.orb-b {
  width: clamp(360px, 42vw, 600px);
  height: clamp(360px, 42vw, 600px);
  top: 60px;
  right: -80px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(168, 85, 247, 0.05) 55%, transparent 72%);
  animation: orbFloat 18s ease-in-out infinite alternate-reverse;
}


.hero-orb--3,
.orb-c {
  width: clamp(280px, 32vw, 480px);
  height: clamp(280px, 32vw, 480px);
  bottom: -60px;
  left: 30%;
  background: radial-gradient(circle, rgba(140, 245, 208, 0.18) 0%, rgba(140, 245, 208, 0.03) 55%, transparent 72%);
  animation: orbFloat 22s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(18px, -22px, 0) scale(1.04); }
  100% { transform: translate3d(-12px, 14px, 0) scale(0.97); }
}

/* Hero inner */
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100vw - 40px));
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: clamp(0.65rem, 0.6rem + 0.22vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(140, 200, 255, 0.90);
  margin: 0 0 28px;
}

.hero-eyebrow-dot {
  color: rgba(90, 200, 250, 0.75);
  font-size: 1.1em;
}

/* ── Geographic availability badge ───────────────────────────────────────── */
.hero-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 7px 18px 7px 14px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: heroBadgeFadeIn 0.7s ease 0.3s both;
}
@keyframes heroBadgeFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-geo-flags {
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
}
.hero-geo-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.hero-geo-text {
  font-size: 0.76rem;
  color: rgba(200,225,255,0.65);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}
.hero-geo-text strong {
  color: rgba(220,235,255,0.90);
  font-weight: 700;
}
.hero-geo-soon {
  color: #5ac8fa;
  font-weight: 600;
}
@media (max-width: 600px) {
  .hero-geo-badge { padding: 6px 14px 6px 11px; gap: 8px; }
  .hero-geo-text { font-size: 0.70rem; }
  .hero-geo-flags { font-size: 0.9rem; letter-spacing: 1px; }
}

/* Main H1 */
.hero-h1 {
  margin: 0 0 28px;
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.hero-h1-line {
  display: block;
  font-size: clamp(3rem, 7vw, 6.4rem);
  white-space: nowrap;  /* single line on desktop */
  /* Apple Liquid Glass — prismatic shimmer */
  background: linear-gradient(
    108deg,
    #ffffff       0%,
    #cce8ff      12%,
    #5ac8fa      28%,
    #ffffff      44%,
    #c4b5fd      60%,
    #bf5af2      76%,
    #cce8ff      90%,
    #ffffff      100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lgShimmer 9s linear infinite;
}

.hero-h1-line--gradient {
  /* legacy class — keep for compat */
  background: linear-gradient(108deg, #5ac8fa 0%, #bf5af2 50%, #5ac8fa 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lgShimmer 9s linear infinite;
}

@keyframes lgShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 240% center; }
}

@keyframes shimmerGradient {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(215, 232, 255, 0.95);
  max-width: 1000px;
  margin: 0 auto 38px;
  text-wrap: balance;
}
.hero-subtitle-ai {
  font-style: normal;
  font-weight: 600;
  color: #5ac8fa;
  letter-spacing: -0.01em;
}

.hero-br { display: inline; }

/* Search bar */
.hero-search-wrap {
  position: relative;
  z-index: 10;
  width: min(1000px, calc(100vw - 40px));
  margin: 0 auto 36px;
}

.hero-search {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-search:focus-within {
  border-color: rgba(26, 140, 255, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.30), 0 0 0 4px rgba(26, 140, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.home-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.hero-search-icon {
  flex-shrink: 0;
  margin: 0 10px 0 0;
  color: rgba(140, 180, 255, 0.6);
}

.hero-search #search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #f0f4ff;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-family: var(--rd-font);
  outline: none;
  padding: 10px 0;
}

.hero-search #search-input::placeholder {
  color: rgba(160, 195, 235, 0.65);
}

/* Hide native browser clear button on search input */
#search-input::-webkit-search-cancel-button,
#search-input::-webkit-search-decoration,
#search-input::-webkit-search-results-button,
#search-input::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
}

.hero-search-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--rd-font);
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0a84ff 0%, #5ac8fa 100%);
  border-radius: 999px;
  padding: 14px 30px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(10, 132, 255, 0.42);
  flex-shrink: 0;
}

.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(90, 200, 250, 0.45);
}

/* Search autocomplete dropdown */
.home-location-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 20px;
  background: rgba(8, 14, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.home-location-options[hidden] { display: none !important; }

.home-search-option {
  appearance: none;
  border: none;
  background: transparent;
  color: #eef4ff;
  text-align: left;
  padding: 10px 14px;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.home-search-option:hover,
.home-search-option:focus {
  background: rgba(26, 140, 255, 0.18);
  outline: none;
}

.home-search-option-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-search-option-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: rgba(140, 180, 220, 0.8);
}

/* 3 CTA action cards */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1080px, 100%);
}

.hero-action-card {
  text-decoration: none;
  color: #e8f1ff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.076) 0%, rgba(255, 255, 255, 0.030) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: transform 0.22s var(--rd-ease-spring), box-shadow 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.hero-action-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.30);
  border-color: rgba(140, 180, 255, 0.28);
}

.hero-action-card--eco:hover  { border-color: rgba(140, 245, 208, 0.32); }
.hero-action-card--search:hover { border-color: rgba(26, 140, 255, 0.40); }
.hero-action-card--list:hover { border-color: rgba(168, 85, 247, 0.38); }

.hero-action-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 140, 255, 0.14);
  border: 1px solid rgba(26, 140, 255, 0.22);
  color: var(--rd-accent);
}

.hero-action-card--eco    .hero-action-icon { background: rgba(140, 245, 208, 0.10); border-color: rgba(140, 245, 208, 0.20); color: #8cf5d0; }
.hero-action-card--search .hero-action-icon { background: rgba(90, 200, 250, 0.14);  border-color: rgba(90, 200, 250, 0.24);  color: #5ac8fa; }
.hero-action-card--list   .hero-action-icon { background: rgba(191, 90, 242, 0.12);  border-color: rgba(191, 90, 242, 0.22);  color: #bf5af2; }

.hero-action-text {
  color: #f0f8ff;
  font-size: clamp(0.84rem, 0.9vw, 0.96rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(140, 180, 255, 0.6);
  animation: scrollDotBounce 1.8s ease-in-out infinite;
}

@keyframes scrollDotBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(9px); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════════
   §2 — TRUST BAR
   ══════════════════════════════════════════════════════════════════════════ */

.trust-bar {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.032);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 24px;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-stat {
  text-align: center;
  padding: 12px 40px;
  flex: 1 1 200px;
}

.trust-stat-value {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.trust-stat-value--text {
  background: linear-gradient(90deg, #1a8cff, #8cf5d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-stat-label {
  display: block;
  font-size: clamp(0.78rem, 0.8vw, 0.88rem);
  color: rgba(200, 220, 252, 0.82);
  line-height: 1.4;
  max-width: 180px;
  margin: 0 auto;
}

.trust-bar-sep {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   §3 — AI INTELLIGENCE SECTION
   ══════════════════════════════════════════════════════════════════════════ */

.ai-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: linear-gradient(180deg, #05070d 0%, #0a1220 50%, #05070d 100%);
  overflow: hidden;
}

.ai-statement-wrap {
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 100px);
  max-width: 100%;
  margin-bottom: clamp(56px, 7vw, 100px);
}

.ai-statement {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  background: linear-gradient(175deg, #ffffff 0%, #d4e9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  text-wrap: balance;
}

.ai-statement-em {
  font-style: normal;
  background: linear-gradient(
    108deg,
    #5ac8fa   0%,
    #ffffff  30%,
    #c4b5fd  55%,
    #bf5af2  75%,
    #5ac8fa 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lgShimmer 7s linear infinite;
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  max-width: 100%;
}
.ai-inner > * { min-width: 0; }

.ai-headline {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  background: linear-gradient(175deg, #ffffff 0%, #d4e9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 22px;
}

.ai-subtext {
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  color: rgba(210, 228, 252, 0.92);
  margin: 0 0 36px;
  max-width: 500px;
}

.ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(220, 238, 255, 0.96);
  background: rgba(90, 200, 250, 0.10);
  border: 1px solid rgba(90, 200, 250, 0.26);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ai-pill:hover {
  background: rgba(90, 200, 250, 0.18);
  border-color: rgba(90, 200, 250, 0.44);
}

.ai-pill-icon { font-size: 1rem; }

/* ── Dossier card mockup ──────────────────────────────────────────────────── */
.ai-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dossier-card {
  position: relative;
  width: min(380px, 100%);
  background: linear-gradient(160deg, rgba(18, 28, 50, 0.96), rgba(10, 18, 32, 0.98));
  border: 1px solid rgba(26, 140, 255, 0.22);
  border-radius: 28px;
  padding: 26px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.10) inset;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2;
}

.dossier-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.dossier-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a8cff, #0d4fa0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.dossier-header-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.dossier-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f0f4ff;
}

.dossier-tag {
  font-size: 0.75rem;
  color: rgba(140, 200, 255, 0.72);
  font-weight: 500;
}

.dossier-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.25);
  animation: pulseGreen 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.25); }
  50%       { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0.10); }
}

/* Score ring */
.dossier-score-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.dossier-score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dossier-ring-bg   { stroke: rgba(255, 255, 255, 0.07); }
.dossier-ring-fill {
  stroke: url(#scoreGrad);
  stroke: #30d158;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dossier-score-text {
  position: absolute;
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.dossier-score-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dossier-score-total {
  font-size: 0.9rem;
  color: rgba(160, 190, 230, 0.7);
  font-weight: 600;
}

.dossier-badge-excellent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(48, 209, 88, 0.14);
  border: 1px solid rgba(48, 209, 88, 0.30);
  color: #30d158;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dossier-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  animation: pulseGreen 2s ease-in-out infinite;
  display: inline-block;
}

/* Dossier rows */
.dossier-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
}

.dossier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 10px;
}

.dossier-row-label {
  font-size: 0.83rem;
  color: rgba(200, 220, 252, 0.82);
}

.dossier-row-val {
  font-size: 0.82rem;
  font-weight: 700;
}

.dossier-row-val--ok   { color: #30d158; }
.dossier-row-val--none { color: rgba(140, 180, 220, 0.60); }

/* Dossier footer */
.dossier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dossier-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: rgba(140, 200, 255, 0.80);
  font-weight: 600;
}

.dossier-time {
  font-size: 0.75rem;
  color: rgba(140, 170, 210, 0.50);
}

/* Floating chips around the dossier card */
.ai-float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.92);
  border: 1px solid rgba(26, 140, 255, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(200, 225, 255, 0.88);
  white-space: nowrap;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  z-index: 3;
}

.ai-float-chip--top {
  top: -22px;
  right: -30px;
  animation: chipFloat 5s ease-in-out infinite;
}

.ai-float-chip--bottom {
  bottom: -18px;
  left: -28px;
  animation: chipFloat 7s ease-in-out infinite reverse;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   §4 — HOW IT WORKS
   ══════════════════════════════════════════════════════════════════════════ */

.hiw-section {
  padding: clamp(80px, 10vw, 130px) 24px;
  background: #0a1220;
}

.hiw-head {
  text-align: center;
  margin-bottom: 48px;
}

.hiw-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f0f4ff;
  margin: 0;
}

/* Tabs */
.hiw-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hiw-tab {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--rd-font);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(160, 190, 230, 0.72);
  background: transparent;
  border-radius: 999px;
  padding: 11px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.hiw-tab--active,
.hiw-tab:hover {
  color: #fff;
}

.hiw-tab--active {
  background: linear-gradient(135deg, #1a8cff, #0d67d8);
  box-shadow: 0 6px 20px rgba(26, 140, 255, 0.36);
}

/* Steps */
.hiw-panel { display: none; }
.hiw-panel--active { display: block; }

.hiw-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.hiw-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a8cff, #0d4fa0);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(26, 140, 255, 0.38);
  flex-shrink: 0;
}

.hiw-step-num--purple {
  background: linear-gradient(135deg, #a855f7, #6d28d9);
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.38);
}

.hiw-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0f4ff;
  margin: 0 0 10px;
}

.hiw-step-desc {
  font-size: 0.88rem;
  color: rgba(160, 190, 230, 0.75);
  line-height: 1.6;
  margin: 0;
}

.hiw-step-connector {
  display: flex;
  align-items: flex-start;
  padding-top: 26px;
  width: 60px;
  flex-shrink: 0;
  justify-content: center;
}

.hiw-step-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(26, 140, 255, 0.40), rgba(26, 140, 255, 0.15));
  border-radius: 999px;
  margin-top: 25px;
}

/* ══════════════════════════════════════════════════════════════════════════
   §5 — ECOSYSTEM FEATURES
   ══════════════════════════════════════════════════════════════════════════ */

.ecosystem-section {
  padding: clamp(80px, 10vw, 140px) 24px;
  background: #05070d;
}

.ecosystem-head {
  text-align: center;
  margin-bottom: 64px;
}

.ecosystem-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f0f4ff;
  line-height: 1.1;
  margin: 0;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.eco-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(160deg, rgba(16, 24, 42, 0.95), rgba(10, 16, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.28s var(--rd-ease-spring), box-shadow 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}

.eco-card:hover {
  transform: translateY(-5px);
}

/* Glow blob per ogni card */
.eco-card-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  top: -80px;
  right: -60px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.eco-card:hover .eco-card-glow { opacity: 0.75; }

.eco-card--blue   { border-color: rgba(26, 140, 255, 0.14);  box-shadow: 0 24px 60px rgba(26, 140, 255, 0.08); }
.eco-card--purple { border-color: rgba(168, 85, 247, 0.14); box-shadow: 0 24px 60px rgba(168, 85, 247, 0.08); }
.eco-card--teal   { border-color: rgba(140, 245, 208, 0.14); box-shadow: 0 24px 60px rgba(140, 245, 208, 0.06); }
.eco-card--orange { border-color: rgba(255, 159, 64, 0.14);  box-shadow: 0 24px 60px rgba(255, 159, 64, 0.07); }

.eco-card--blue:hover   { border-color: rgba(26, 140, 255, 0.30);  box-shadow: 0 32px 72px rgba(26, 140, 255, 0.15); }
.eco-card--purple:hover { border-color: rgba(168, 85, 247, 0.30); box-shadow: 0 32px 72px rgba(168, 85, 247, 0.15); }
.eco-card--teal:hover   { border-color: rgba(140, 245, 208, 0.30); box-shadow: 0 32px 72px rgba(140, 245, 208, 0.12); }
.eco-card--orange:hover { border-color: rgba(255, 159, 64, 0.30);  box-shadow: 0 32px 72px rgba(255, 159, 64, 0.12); }

.eco-card--blue   .eco-card-glow { background: #1a8cff; }
.eco-card--purple .eco-card-glow { background: #a855f7; }
.eco-card--teal   .eco-card-glow { background: #8cf5d0; }
.eco-card--orange .eco-card-glow { background: #ff9f40; }

/* Card icons */
.eco-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.eco-card-icon--blue   { background: rgba(26, 140, 255, 0.14);  border: 1px solid rgba(26, 140, 255, 0.28);  color: #1a8cff; }
.eco-card-icon--purple { background: rgba(168, 85, 247, 0.14); border: 1px solid rgba(168, 85, 247, 0.28); color: #a855f7; }
.eco-card-icon--teal   { background: rgba(140, 245, 208, 0.12); border: 1px solid rgba(140, 245, 208, 0.24); color: #8cf5d0; }
.eco-card-icon--orange { background: rgba(255, 159, 64, 0.12);  border: 1px solid rgba(255, 159, 64, 0.24);  color: #ff9f40; }

.eco-card-title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #f0f4ff;
  letter-spacing: -0.02em;
  margin: 0;
  position: relative;
  z-index: 1;
}

.eco-card-desc {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.65;
  color: rgba(175, 200, 235, 0.78);
  margin: 0;
  position: relative;
  z-index: 1;
  flex: 1;
}

.eco-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: rgba(180, 210, 255, 0.85);
  position: relative;
  z-index: 1;
  transition: color 0.2s ease, gap 0.2s ease;
  margin-top: 4px;
  width: fit-content;
}

.eco-card--blue   .eco-card-link { color: #60b3ff; }
.eco-card--purple .eco-card-link { color: #c084fc; }
.eco-card--teal   .eco-card-link { color: #8cf5d0; }
.eco-card--orange .eco-card-link { color: #ffb868; }

.eco-card-link:hover { gap: 12px; }

/* ══════════════════════════════════════════════════════════════════════════
   §6 — SECURITY / TRUST SECTION
   ══════════════════════════════════════════════════════════════════════════ */

.security-section {
  padding: clamp(80px, 10vw, 130px) 24px;
  background: #0a1220;
  position: relative;
  overflow: hidden;
}

.security-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(26, 140, 255, 0.06), transparent 70%);
  pointer-events: none;
}

.security-head {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.security-kicker { color: #8cf5d0; }

.security-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f0f4ff;
  margin: 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.security-card {
  background: linear-gradient(160deg, rgba(14, 24, 42, 0.92), rgba(9, 16, 30, 0.96));
  border: 1px solid rgba(140, 245, 208, 0.12);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s var(--rd-ease-spring), border-color 0.25s ease, box-shadow 0.25s ease;
}

.security-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 245, 208, 0.26);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32);
}

.security-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.security-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f4ff;
  margin: 0;
}

.security-card-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(160, 190, 230, 0.72);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   §7 — FINAL CTA
   ══════════════════════════════════════════════════════════════════════════ */

.cta-final {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 160px) 24px;
  background: linear-gradient(160deg, #05070d 0%, #0a1a30 50%, #05070d 100%);
  text-align: center;
}

.cta-final-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-final-orb--a {
  width: 500px;
  height: 500px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(26, 140, 255, 0.28), transparent 70%);
  animation: orbFloat 16s ease-in-out infinite;
}

.cta-final-orb--b {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22), transparent 70%);
  animation: orbFloat 20s ease-in-out infinite alternate-reverse;
}

.cta-final-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-final-headline {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #f0f4ff;
  line-height: 1.08;
  margin: 0 0 22px;
}

.cta-final-headline--accent {
  background: linear-gradient(90deg, #1a8cff, #8cf5d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-final-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(180, 205, 245, 0.78);
  line-height: 1.65;
  margin: 0 auto 44px;
  max-width: 560px;
}

.cta-final-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s var(--rd-ease-spring), box-shadow 0.22s ease;
  will-change: transform;
}

.cta-btn--primary {
  background: linear-gradient(135deg, #1a8cff, #0d67d8);
  color: #fff;
  box-shadow: 0 16px 40px rgba(26, 140, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cta-btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 52px rgba(26, 140, 255, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cta-btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(210, 230, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cta-btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

/* ══════════════════════════════════════════════════════════════════════════
   §8 — FOOTER
   ══════════════════════════════════════════════════════════════════════════ */

.site-footer {
  background: #030508;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 24px 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  column-gap: 36px;
  row-gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f0f4ff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.footer-logo svg { width: 22px; height: 22px; }

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(160, 185, 225, 0.62);
  margin: 0 0 6px;
  line-height: 1.45;
  max-width: 320px;
}

.footer-countries {
  font-size: 0.72rem;
  color: rgba(130, 160, 205, 0.45);
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-col-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(160, 190, 235, 0.5);
  margin: 0 0 10px;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a,
.footer-legal a {
  text-decoration: none;
  font-size: 0.78rem;
  color: rgba(175, 200, 240, 0.65);
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #f0f4ff;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(130, 155, 200, 0.4);
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Compact divider row at the very bottom (logo+copy together on a single line) */
.site-footer::after {
  content: "";
  display: block;
  max-width: 1180px;
  margin: 22px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ══════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal][data-reveal-delay="1"] { transition-delay: 0.10s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.20s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.30s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.42s; }

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════════════
   CONTAINER UTILITY
   ══════════════════════════════════════════════════════════════════════════ */

.container {
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .ai-inner {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .ai-visual {
    justify-content: center;
    margin-top: 12px;
  }

  .ai-float-chip--top    { right: -10px; }
  .ai-float-chip--bottom { left: -10px; }

  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 520px;
  }

  .hiw-step-connector {
    display: flex;
    align-items: center;
    width: auto;
    padding: 0;
    height: 40px;
    justify-content: center;
  }

  .hiw-step-connector::after {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 140, 255, 0.40), rgba(26, 140, 255, 0.10));
    margin-top: 0;
  }

  .hiw-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    padding: 0;
  }

  .hiw-step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .security-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero-section { padding: 80px 20px 60px; min-height: auto; }

  .hero-eyebrow { gap: 6px; flex-direction: column; }
  .hero-eyebrow-dot { display: none; }

  .hero-h1-line {
    font-size: clamp(2rem, 9.5vw, 3.5rem) !important;
    white-space: normal !important;   /* allow wrap on mobile */
    line-height: 1.05 !important;
  }

  .hero-subtitle { font-size: 1rem; }
  .hero-br { display: none; }

  .hero-search {
    flex-direction: column;
    border-radius: 18px;
    padding: 12px 14px;
    gap: 10px;
    align-items: stretch;
  }
  .hero-search-icon { display: none; }  /* icon inside pill on desktop only */

  .hero-search-btn {
    width: 100%;
    padding: 14px 20px;
  }

  .home-location-options {
    left: 0;
    right: 0;
    top: calc(100% + 10px);
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .trust-bar-sep { display: none; }
  .trust-stat { flex: 1 1 50%; padding: 10px 20px; }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: auto; }

  .cta-final-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 340px;
  }

  .ai-float-chip {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .trust-stat { flex: 1 1 100%; }
  .trust-bar-sep { display: none; }

  .hiw-tabs {
    width: calc(100vw - 48px);
    border-radius: 16px;
    flex-direction: column;
    padding: 6px;
    gap: 4px;
  }

  .hiw-tab {
    justify-content: center;
    border-radius: 12px;
  }
}


/* ── Agency box (FIX 2) ─────────────────────────────────────────────────── */
.pp-agency-box {
  background: linear-gradient(135deg, rgba(168,85,247,0.18) 0%, rgba(139,92,246,0.10) 100%);
  border: 1.5px solid rgba(168,85,247,0.5);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.pp-agency-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(168,85,247,0.25), transparent 70%);
  pointer-events: none;
}
.pp-agency-badge {
  display: inline-block;
  background: rgba(168,85,247,0.2);
  border: 1px solid rgba(168,85,247,0.4);
  color: #c084fc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.pp-agency-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #f0f4ff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.pp-agency-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(200,220,255,0.75);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 640px;
}
.pp-agency-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c084fc;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(192,132,252,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.pp-agency-link:hover { color: #d8b4fe; border-color: rgba(216,180,254,0.6); }

/* ── Section alternation (FIX 3) ────────────────────────────────────────── */
.trust-bar      { background: #080f1e; }
.ai-section     { background: #05070d; }
.pp-section--alt { background: #0b1628; }
.pp-section:not(.pp-section--alt) { background: #05070d; }
.score-section  { background: #0b1628; }
.ecosystem-section { background: #05070d; }
.security-section  { background: #080f1e; }
.home-footer    { background: #030508; }

/* ── Container wider (FIX 4) ────────────────────────────────────────────── */
.home-container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Bigger text & full-screen feel (FIX 4) ─────────────────────────────── */
.pp-section-title {
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.15 !important;
}

.pp-section-desc {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem) !important;
  line-height: 1.75 !important;
  max-width: 1000px;
}

.pp-card-title { font-size: clamp(1.1rem, 1.5vw, 1.3rem) !important; }
.pp-card-text  { font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important; line-height: 1.7 !important; }

.ai-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
  line-height: 1.15 !important;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  max-width: 680px;
}

.pp-section, .ai-section, .trust-bar {
  padding: clamp(80px, 10vw, 140px) 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-orb--1, .hero-orb--2, .hero-orb--3,
  .orb-a, .orb-b, .orb-c,
  .cta-final-orb--a, .cta-final-orb--b,
  .scroll-dot,
  .dossier-status-dot,
  .dossier-badge-dot,
  .ai-float-chip--top,
  .ai-float-chip--bottom,
  .hero-h1-line--gradient {
    animation: none;
  }
}


/* ════════════════════════════════════════════════════════════════════
   AI DOSSIER CARD — floating glass app panel
   ════════════════════════════════════════════════════════════════════ */
.ai-dossier-card {
  background: linear-gradient(
    145deg,
    rgba(12, 22, 48, 0.94) 0%,
    rgba(6, 11, 26, 0.97) 100%
  );
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(90, 200, 250, 0.18);
  border-radius: 26px;
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  box-shadow:
    0 56px 112px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 100px rgba(90, 200, 250, 0.07);
  transform: perspective(900px) rotateY(-4deg) rotateX(1deg);
  transition: transform 0.55s cubic-bezier(.22,.68,0,1.2);
  will-change: transform;
}
.ai-dossier-card:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.012);
}

/* Window chrome dots */
.adc-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.adc-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.adc-dot--r { background: #ff5f57; }
.adc-dot--y { background: #febc2e; }
.adc-dot--g { background: #28c840; }
.adc-chrome-title {
  margin-left: auto;
  font-size: 0.70rem;
  font-weight: 500;
  color: rgba(180, 205, 245, 0.35);
  letter-spacing: 0.06em;
}

/* Header: avatar + name + badge */
.adc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 14px;
}
.adc-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5ac8fa 0%, #63e6be 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0a1428;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(90,200,250,0.35);
}
.adc-info { flex: 1; min-width: 0; }
.adc-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #eaf3ff;
  line-height: 1.2;
}
.adc-meta {
  font-size: 0.73rem;
  color: rgba(180,205,245,0.48);
  margin-top: 3px;
}
.adc-badge {
  font-size: 0.70rem;
  font-weight: 700;
  color: #63e6be;
  background: rgba(99,230,190,0.13);
  border: 1px solid rgba(99,230,190,0.28);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Score section */
.adc-score-band {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: rgba(90,200,250,0.04);
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}
.adc-ring-wrap {
  position: relative;
  width: 104px; height: 104px;
  flex-shrink: 0;
}
.adc-ring-svg { width: 104px; height: 104px; display: block; }
.adc-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.adc-ring-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(105deg, #5ac8fa, #63e6be);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.adc-ring-of {
  font-size: 0.62rem;
  color: rgba(140,245,208,0.55);
  font-weight: 600;
  margin-top: 2px;
}
.adc-score-text { flex: 1; min-width: 0; }
.adc-score-grade {
  font-size: 1.15rem;
  font-weight: 800;
  color: #eaf3ff;
  line-height: 1.2;
}
.adc-score-sub {
  font-size: 0.78rem;
  color: rgba(200,220,252,0.55);
  margin-top: 5px;
  line-height: 1.5;
}

/* Metric rows */
.adc-rows {
  padding: 8px 20px 4px;
}
.adc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.84rem;
}
.adc-row:last-child { border-bottom: none; }
.adc-row-key { color: rgba(200,220,252,0.60); }
.adc-row-val {
  font-weight: 700;
  color: #eaf3ff;
}
.adc-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.adc-chip-g { background: rgba(99,230,190,0.15); color: #63e6be; }
.adc-chip-b { background: rgba(90,200,250,0.13); color: #5ac8fa; }
.adc-chip-p { background: rgba(191,90,242,0.14); color: #bf5af2; }

/* Footer verified bar */
.adc-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-top: 1px solid rgba(255,255,255,0.055);
  background: rgba(0,0,0,0.12);
}
.adc-footer-icon { flex-shrink: 0; }
.adc-footer-text {
  font-size: 0.73rem;
  color: rgba(180,205,245,0.40);
  letter-spacing: 0.04em;
}
.adc-footer-text strong {
  color: rgba(180,205,245,0.65);
  font-weight: 600;
}
/* Floating glow pulse */
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 56px 112px rgba(0,0,0,.65), 0 0 80px rgba(90,200,250,.07); }
  50%       { box-shadow: 0 56px 112px rgba(0,0,0,.65), 0 0 120px rgba(90,200,250,.13); }
}
.ai-dossier-card { animation: cardGlow 5s ease-in-out infinite; }
.ai-dossier-card:hover { animation: none; }

/* Responsive: no tilt on mobile */
@media (max-width: 768px) {
  .ai-dossier-card {
    transform: none !important;
    animation: none;
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   §2  BENEFITS GRID  (benefits overview – light section)
   ══════════════════════════════════════════════════════════════ */
.rd-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.rd-benefit-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 18px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.rd-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.10);
}
.rd-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.rd-benefit-icon--purple { background: rgba(191,90,242,0.12); }
.rd-benefit-icon--teal   { background: rgba(99,230,190,0.13); }
.rd-benefit-icon--blue   { background: rgba(10,132,255,0.11); }
.rd-benefit-card .rd-h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0a0e1a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.rd-benefit-text {
  font-size: 0.90rem;
  color: #424b6a;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}
.rd-benefit-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  border-radius: 999px;
  align-self: flex-start;
  text-transform: uppercase;
}
.rd-benefit-tag--purple {
  background: rgba(191,90,242,0.10);
  color: #8a2fd8;
}
.rd-benefit-tag--teal {
  background: rgba(52,199,164,0.13);
  color: #1a8f6f;
}
.rd-benefit-tag--blue {
  background: rgba(10,132,255,0.10);
  color: #0055cc;
}

/* Responsive: benefits grid */
@media (max-width: 900px) {
  .rd-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 580px) {
  .rd-benefits-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .rd-benefit-card { padding: 24px 20px 20px; }
}


/* ══════════════════════════════════════════════════════════════
   §7  RENTALSCORE REP CARD
   ══════════════════════════════════════════════════════════════ */
.rd-rep-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(0,0,0,0.45);
  max-width: 360px;
  width: 100%;
}
.rd-rep-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.rd-rep-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #63e6be;
  margin-bottom: 4px;
}
.rd-rep-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #eaf3ff;
}
.rd-rep-score-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.rd-rep-score-num {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(105deg, #5ac8fa, #63e6be);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rd-rep-score-sub {
  font-size: 0.75rem;
  color: rgba(140,245,208,0.5);
  font-weight: 600;
}
.rd-rep-history-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(200,220,252,0.45);
  padding: 16px 22px 10px;
}
.rd-rep-months {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  padding: 0 22px 16px;
}
.rd-rep-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 22px;
}
.rd-rep-month span {
  font-size: 0.58rem;
  color: rgba(200,220,252,0.35);
  font-weight: 500;
}
.rd-rep-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.rd-rep-month--ok .rd-rep-dot {
  background: #30d158;
  box-shadow: 0 0 6px rgba(48,209,88,0.5);
}
.rd-rep-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-top: 1px solid rgba(255,255,255,0.055);
  background: rgba(0,0,0,0.12);
}
.rd-rep-footer span {
  font-size: 0.73rem;
  color: rgba(180,205,245,0.50);
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════════════════════
   HERO — CTA PAIR  (replaces 3-card hero-actions)
   ══════════════════════════════════════════════════════════════ */
.hero-cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(1000px, 100%);
  margin-top: 4px;
}
.hero-cta {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(160deg, rgba(255,255,255,0.076) 0%, rgba(255,255,255,0.030) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}
.hero-cta:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0,0,0,0.30);
}
.hero-cta--tenant { border-color: rgba(90,200,250,0.18); }
.hero-cta--tenant:hover { border-color: rgba(90,200,250,0.40); }
.hero-cta--owner  { border-color: rgba(191,90,242,0.16); }
.hero-cta--owner:hover  { border-color: rgba(191,90,242,0.38); }

.hero-cta-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
}
.hero-cta--tenant .hero-cta-icon {
  background: rgba(90,200,250,0.13);
  border-color: rgba(90,200,250,0.22);
  color: #5ac8fa;
}
.hero-cta--owner .hero-cta-icon {
  background: rgba(191,90,242,0.12);
  border-color: rgba(191,90,242,0.22);
  color: #bf5af2;
}
.hero-cta-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  min-width: 0;
}
.hero-cta-title {
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 800;
  color: #f0f8ff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-cta-sub {
  font-size: 0.78rem;
  color: rgba(200,220,255,0.45);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-cta-arrow {
  flex-shrink: 0;
  color: rgba(200,220,255,0.35);
  transition: color 0.2s ease, transform 0.2s ease;
}
.hero-cta:hover .hero-cta-arrow {
  color: rgba(200,220,255,0.75);
  transform: translateX(4px);
}
.hero-cta--tenant:hover .hero-cta-arrow { color: #5ac8fa; }
.hero-cta--owner:hover  .hero-cta-arrow { color: #bf5af2; }

/* Mobile: stack CTAs */
@media (max-width: 600px) {
  .hero-cta-pair { grid-template-columns: 1fr; gap: 12px; }
  .hero-cta { padding: 16px 18px; }
  .hero-cta-icon { width: 42px; height: 42px; border-radius: 12px; }
  .hero-cta-title { font-size: 0.95rem; white-space: normal; }
  .hero-cta-sub   { font-size: 0.75rem; white-space: normal; }
  .hero-cta-arrow { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   HERO — SCROLL CUE
   ══════════════════════════════════════════════════════════════ */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: scrollCueFadeIn 1s ease 1.8s forwards;
  z-index: 3;
}
@keyframes scrollCueFadeIn {
  to { opacity: 0.45; }
}
.hero-scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(200,220,255,0.40);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  box-sizing: border-box;
}
.hero-scroll-dot {
  width: 4px;
  height: 7px;
  background: rgba(200,220,255,0.7);
  border-radius: 2px;
  animation: scrollDotBounce 2.2s cubic-bezier(0.455,0.03,0.515,0.955) 2s infinite;
}
@keyframes scrollDotBounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  55%       { transform: translateY(14px); opacity: 0.15; }
}

/* Hide on very small height screens (landscape phones) */
@media (max-height: 500px) {
  .hero-scroll-cue { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   HERO — MOBILE FIXES
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* More top padding so title clears the navbar */
  .hero-section {
    padding-top: 110px;
    padding-bottom: 100px; /* room for the absolute-positioned scroll cue */
  }
  /* Keep scroll cue visible on mobile, slightly smaller */
  .hero-scroll-cue {
    bottom: 28px;
  }
  .hero-scroll-mouse {
    width: 22px;
    height: 36px;
    border-radius: 11px;
  }
  /* Compact search bar: keep horizontal on mobile */
  .hero-search {
    flex-direction: row !important;
    border-radius: 50px !important;
    padding: 6px 6px 6px 18px !important;
    gap: 8px !important;
    align-items: center !important;
  }
  .hero-search #search-input {
    font-size: 0.9rem;
    min-width: 0;
    flex: 1;
  }
  .hero-search-btn {
    width: auto !important;
    padding: 10px 20px !important;
    border-radius: 40px !important;
    flex-shrink: 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — REP CARD & BENEFIT CARDS  overflow fixes
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .rd-rep-card {
    max-width: 100%;
  }
  .rd-rep-months {
    gap: 4px 3px;
  }
  .rd-rep-month span {
    font-size: 0.52rem;
  }
  .rd-rep-dot {
    width: 9px;
    height: 9px;
  }
}

/* ══════════════════════════════════════════════════════════════
   §7  RENTALSCORE REP CARD  — full redesign (bigger, richer)
   ══════════════════════════════════════════════════════════════ */

/* Override old max-width so card fills its column */
.rd-rep-card {
  max-width: none;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.07);
  background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.025) 100%);
  border: none;
}

/* ── Hero row: ring + info ── */
.rd-rep-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 28px 20px;
}

/* Score ring */
.rd-rep-score-ring {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}
.rd-rep-ring-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}
.rd-rep-ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.07);
  stroke-width: 8;
}
.rd-rep-ring-fill {
  fill: none;
  stroke: url(#repRingGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke: #63e6be;
  filter: drop-shadow(0 0 6px rgba(99,230,190,0.5));
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4,0,0.2,1);
}
.rd-rep-ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
/* Override old score-num for ring context */
.rd-rep-score-ring .rd-rep-score-num {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(105deg, #5ac8fa, #63e6be);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rd-rep-score-ring .rd-rep-score-sub {
  font-size: 0.7rem;
  color: rgba(140,245,208,0.45);
  font-weight: 600;
  margin-top: 1px;
}

/* Info column */
.rd-rep-hero-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rd-rep-certified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #63e6be;
  background: rgba(99,230,190,0.10);
  border: 1px solid rgba(99,230,190,0.20);
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  width: fit-content;
}
.rd-rep-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #eaf3ff;
  line-height: 1.1;
}
.rd-rep-city {
  font-size: 0.84rem;
  color: rgba(200,220,252,0.45);
  font-weight: 500;
}
.rd-rep-grade {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #5ac8fa;
  background: rgba(90,200,250,0.10);
  border: 1px solid rgba(90,200,250,0.20);
  border-radius: 6px;
  padding: 3px 10px;
  width: fit-content;
  margin-top: 2px;
}

/* ── Section title ── */
.rd-rep-section-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200,220,252,0.35);
  padding: 0 28px 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
}

/* ── Month bars ── */
.rd-rep-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  padding: 0 28px 20px;
  align-items: flex-end;
}
.rd-rep-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.rd-rep-month span {
  font-size: 0.58rem;
  color: rgba(200,220,252,0.30);
  font-weight: 500;
}
/* New: bar style */
.rd-rep-bar {
  width: 100%;
  height: 32px;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
}
.rd-rep-month--ok .rd-rep-bar {
  background: linear-gradient(180deg, #5ac8fa 0%, #30d158 100%);
  box-shadow: 0 2px 8px rgba(48,209,88,0.35);
}
/* Keep old dot for backward compat */
.rd-rep-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.rd-rep-month--ok .rd-rep-dot {
  background: #30d158;
  box-shadow: 0 0 6px rgba(48,209,88,0.5);
}

/* ── Stats row ── */
.rd-rep-stats {
  display: flex;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.10);
}
.rd-rep-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.rd-rep-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.rd-rep-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #eaf3ff;
  line-height: 1;
}
.rd-rep-stat-num--teal {
  background: linear-gradient(105deg, #5ac8fa, #63e6be);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rd-rep-stat-label {
  font-size: 0.68rem;
  color: rgba(200,220,252,0.40);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

/* ── Footer ── */
.rd-rep-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.14);
}
.rd-rep-footer span {
  font-size: 0.73rem;
  color: rgba(180,205,245,0.45);
  letter-spacing: 0.03em;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .rd-rep-hero { gap: 18px; padding: 22px 20px 16px; }
  .rd-rep-score-ring { width: 90px; height: 90px; }
  .rd-rep-ring-svg { width: 90px; height: 90px; }
  .rd-rep-score-ring .rd-rep-score-num { font-size: 1.9rem; }
  .rd-rep-name { font-size: 1.25rem; }
  .rd-rep-section-title,
  .rd-rep-months,
  .rd-rep-stats,
  .rd-rep-footer { padding-left: 20px; padding-right: 20px; }
  .rd-rep-bar { height: 24px; }
  .rd-rep-stat-num { font-size: 1.2rem; }
}


/* ═══════════════════════════════════════════════════════════════
   §2 ROLES SECTION — Three audience panels (dark, premium)
   ═══════════════════════════════════════════════════════════════ */

.rd-roles-section {
  background: #030508;
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 14vw, 160px) 0;
}
.rd-roles-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at -5% 60%, rgba(48,209,88,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% -10%, rgba(191,90,242,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 105% 60%, rgba(10,132,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Grid */
.rd-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(52px, 7vw, 80px);
  align-items: stretch;
}

/* ── Base card ── */
.rd-role-card {
  position: relative;
  border-radius: 22px;
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.30s cubic-bezier(0.34,1.56,0.64,1), border-color 0.30s ease, box-shadow 0.30s ease;
}
.rd-role-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 28px 64px rgba(0,0,0,0.28);
}

/* Top accent bar */
.rd-role-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  z-index: 1;
}
.rd-role-card--tenant::before { background: linear-gradient(90deg, transparent 5%, #30d158 35%, #63e6be 65%, transparent 95%); }
.rd-role-card--agency::before { background: linear-gradient(90deg, transparent 5%, #bf5af2 35%, #9b42d4 65%, transparent 95%); }
.rd-role-card--owner::before  { background: linear-gradient(90deg, transparent 5%, #0a84ff 35%, #5ac8fa 65%, transparent 95%); }

/* Corner glow */
.rd-role-glow {
  position: absolute;
  top: -90px; left: -70px;
  width: 300px; height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.13;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.rd-role-card:hover .rd-role-glow { opacity: 0.22; }
.rd-role-glow--tenant { background: #30d158; }
.rd-role-glow--agency { background: #bf5af2; }
.rd-role-glow--owner  { background: #0a84ff; }

/* Header */
.rd-role-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(22px, 2.8vw, 30px) clamp(22px, 2.8vw, 30px) 0;
  margin-bottom: 18px;
}

/* Icon pill */
.rd-role-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rd-role-icon--tenant { background: rgba(48,209,88,0.11); border: 1px solid rgba(48,209,88,0.20); }
.rd-role-icon--agency { background: rgba(191,90,242,0.11); border: 1px solid rgba(191,90,242,0.20); }
.rd-role-icon--owner  { background: rgba(10,132,255,0.11); border: 1px solid rgba(10,132,255,0.20); }

/* Badge */
.rd-role-badge {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.rd-role-badge--tenant { color: #30d158; background: rgba(48,209,88,0.09); border: 1px solid rgba(48,209,88,0.18); }
.rd-role-badge--agency { color: #d08cf7; background: rgba(191,90,242,0.09); border: 1px solid rgba(191,90,242,0.18); }
.rd-role-badge--owner  { color: #5ac8fa; background: rgba(90,200,250,0.09); border: 1px solid rgba(90,200,250,0.18); }

/* Role title */
.rd-role-title {
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #eaf3ff;
  margin: 0 0 18px;
  padding: 0 clamp(22px, 2.8vw, 30px);
}

/* Divider */
.rd-role-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0 clamp(22px, 2.8vw, 30px) 18px;
}

/* Benefits list */
.rd-role-list {
  list-style: none;
  padding: 0 clamp(22px, 2.8vw, 30px);
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}
.rd-role-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Check circle */
.rd-role-check {
  width: 19px; height: 19px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.rd-role-check--tenant { background: rgba(48,209,88,0.13); color: #30d158; }
.rd-role-check--agency { background: rgba(191,90,242,0.13); color: #bf5af2; }
.rd-role-check--owner  { background: rgba(90,200,250,0.13); color: #5ac8fa; }

/* Item body */
.rd-role-item-body { display: flex; flex-direction: column; gap: 2px; }
.rd-role-item-body strong { font-size: 0.855rem; font-weight: 700; color: #ddeeff; line-height: 1.3; }
.rd-role-item-body span   { font-size: 0.77rem; color: rgba(180,210,250,0.42); line-height: 1.5; }

/* CTA link */
.rd-role-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 15px clamp(22px, 2.8vw, 30px);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
  transition: gap 0.22s ease, opacity 0.22s;
}
.rd-role-cta:hover { gap: 11px; }
.rd-role-cta--tenant { color: #30d158; }
.rd-role-cta--agency { color: #d08cf7; }
.rd-role-cta--owner  { color: #5ac8fa; }
.rd-role-cta svg { flex-shrink: 0; transition: transform 0.22s ease; }
.rd-role-cta:hover svg { transform: translateX(3px); }

/* Responsive */
@media (max-width: 1024px) {
  .rd-roles-grid { gap: 12px; }
  .rd-role-title { font-size: 1.2rem; }
  .rd-role-item-body strong { font-size: 0.82rem; }
}
@media (max-width: 800px) {
  .rd-roles-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .rd-role-card { border-radius: 18px; }
}
@media (max-width: 480px) {
  .rd-role-header { padding: 18px 18px 0; gap: 10px; }
  .rd-role-title { padding: 0 18px; font-size: 1.15rem; margin-bottom: 14px; }
  .rd-role-divider { margin: 0 18px 14px; }
  .rd-role-list { padding: 0 18px; gap: 11px; margin-bottom: 16px; }
  .rd-role-cta { padding: 13px 18px; }
  .rd-role-item-body strong { font-size: 0.80rem; }
  .rd-role-item-body span { font-size: 0.73rem; }
}

/* ── Hero trust row (eIDAS + GDPR) ────────────────────────────────────────── */
.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 20px;
  padding: 0 8px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: rgba(190,215,255,0.50);
  font-weight: 500;
  line-height: 1;
}
.hero-trust-item strong { color: rgba(210,230,255,0.72); font-weight: 600; }
.hero-trust-sep {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}
@media (max-width: 600px) {
  .hero-trust-row { gap: 8px 12px; margin-top: 16px; }
  .hero-trust-item { font-size: 0.68rem; }
  .hero-trust-sep { display: none; }
}

/* ── §6 Coming soon: dossier di coppia / coinquilini / garanti ────────────── */
.rd-dossier-coming {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(90,200,250,0.04);
  border: 1px solid rgba(90,200,250,0.14);
}
.rd-dossier-coming-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5ac8fa;
  white-space: nowrap;
}
.rd-dossier-coming-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.rd-dossier-chip {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(10,20,40,0.78);
  background: rgba(90,200,250,0.14);
  border: 1px solid rgba(90,200,250,0.28);
  border-radius: 999px;
  padding: 4px 12px;
  color: #1a5a7a;
}
/* On light section */
.rd-light .rd-dossier-chip { color: #1a5a7a; }

/* ── §7 Non-payer warning callout ─────────────────────────────────────────── */
.rd-score-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(251,191,36,0.05);
  border: 1px solid rgba(251,191,36,0.18);
}
.rd-score-warning svg { flex-shrink: 0; margin-top: 1px; }
.rd-score-warning div { font-size: 0.84rem; color: rgba(200,215,245,0.80); line-height: 1.55; }
.rd-score-warning strong { color: rgba(255,220,120,0.92); font-weight: 700; display: block; margin-bottom: 3px; }
/* On light section */
.rd-light .rd-score-warning { background: rgba(180,110,0,0.05); border-color: rgba(180,110,0,0.15); }
.rd-light .rd-score-warning div { color: #4a3a10; }
.rd-light .rd-score-warning strong { color: #7a4a00; }


/* ════════════════════════════════════════════════════════════════════════════
   PRICING SECTION
   ════════════════════════════════════════════════════════════════════════════ */
.rd-pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(48px, 6vw, 72px);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.rd-pricing-cards--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
}
.rd-pricing-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.rd-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.rd-pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.rd-pricing-card--tenant::before { background: linear-gradient(90deg, #30d158, #5ac8fa); }
.rd-pricing-card--agency::before  { background: linear-gradient(90deg, #bf5af2, #9f4ee8); }
.rd-pricing-card--tenant { border-color: rgba(48,209,88,0.18); background: rgba(48,209,88,0.04); }
.rd-pricing-card--tenant:hover { border-color: rgba(48,209,88,0.4); box-shadow: 0 20px 60px rgba(48,209,88,0.1); }
.rd-pricing-card--agency { border-color: rgba(191,90,242,0.18); background: rgba(191,90,242,0.04); }
.rd-pricing-card--agency:hover { border-color: rgba(191,90,242,0.4); box-shadow: 0 20px 60px rgba(191,90,242,0.12); }
.rd-pricing-card-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.rd-pricing-card--tenant .rd-pricing-card-badge { color: #30d158; }
.rd-pricing-card--agency .rd-pricing-card-badge { color: #bf5af2; }
.rd-pricing-fee {
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 0;
}
.rd-pricing-num {
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.0;
  background: linear-gradient(135deg, #30d158 30%, #5ac8fa 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-right: 0.08em;
}
.rd-pricing-unit {
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.0;
  background: linear-gradient(135deg, #30d158 30%, #5ac8fa 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.rd-pricing-card--agency .rd-pricing-fee {
  font-size: 1.6rem;
  font-weight: 800;
  color: #f0f4ff;
  line-height: 1.25;
  padding-top: 10px;
}
.rd-pricing-desc {
  font-size: 0.87rem;
  color: rgba(200,220,255,0.5);
  margin-bottom: 24px;
  margin-top: 6px;
  line-height: 1.55;
  padding-top: 2px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
}
.rd-pricing-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rd-pricing-list li {
  font-size: 0.88rem;
  color: rgba(200,220,255,0.75);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.rd-pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #30d158;
  font-weight: 800;
}
.rd-pricing-card--agency .rd-pricing-list li::before { color: #bf5af2; }
.rd-pricing-card--agency .rd-pricing-fee,
.rd-pricing-card--owner .rd-pricing-fee { display: block; margin-bottom: 12px; }
.rd-pricing-fee--text { font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 900; color: #f0f4ff; line-height: 1.1; letter-spacing: -0.03em; }
/* Owner card */
.rd-pricing-card--owner::before { background: linear-gradient(90deg, #bf5af2, #ff9500); }
.rd-pricing-card--owner { border-color: rgba(191,90,242,0.15); background: rgba(191,90,242,0.04); }
.rd-pricing-card--owner:hover { border-color: rgba(191,90,242,0.35); box-shadow: 0 20px 60px rgba(191,90,242,0.1); }
.rd-pricing-card--owner .rd-pricing-card-badge { color: #bf5af2; }
.rd-pricing-card--owner .rd-pricing-list li::before { color: #bf5af2; }

/* Fee text variant (for "Gratis / da €X") */
.rd-pricing-fee--text {
  font-size: 1.8rem;
  font-weight: 900;
  color: #f0f4ff;
  line-height: 1.2;
  padding-top: 8px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.rd-pricing-fee-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(200,220,255,0.5);
  display: block;
  margin-top: 4px;
}

/* Owner CTA button variant */
.rd-btn--owner {
  border-color: rgba(191,90,242,0.3);
  color: #bf5af2;
}
.rd-btn--owner:hover {
  border-color: rgba(191,90,242,0.6);
  color: #d08af7;
}
.rd-btn--full { width: 100%; text-align: center; }

/* ── Comparison table ─────────────────────────────────────────────────────── */
.rd-pricing-compare {
  margin-top: clamp(44px, 6vw, 64px);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
}
.rd-pricing-compare-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(200,220,255,0.4);
  padding: 20px clamp(20px,3vw,32px) 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rd-pricing-compare-grid { width: 100%; }
.rd-pcc-header,
.rd-pcc-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rd-pcc-row:last-child { border-bottom: none; }
.rd-pcc-col {
  padding: 14px clamp(16px, 2.5vw, 24px);
  font-size: 0.85rem;
  color: rgba(200,220,255,0.55);
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.rd-pcc-col:last-child { border-right: none; }
.rd-pcc-header .rd-pcc-col {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 12px;
}
.rd-pcc-label { color: rgba(200,220,255,0.72); font-weight: 500; }
.rd-pcc-rd {
  background: rgba(48,209,88,0.04);
  font-weight: 600;
}
.rd-pcc-header .rd-pcc-rd { color: #30d158; }
.rd-pcc-yes { color: #30d158 !important; font-weight: 700; }
.rd-pcc-mid { color: rgba(251,191,36,0.8) !important; }
.rd-pcc-no  { color: rgba(255,100,100,0.7) !important; }

/* ════════════════════════════════════════════════════════════════════════════
   REFERRAL SECTION
   ════════════════════════════════════════════════════════════════════════════ */
.rd-referral-section { background: #fff; }
.rd-referral-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-top: clamp(48px, 6vw, 72px);
}
.rd-referral-step {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 36px);
  text-align: center;
  position: relative;
}
.rd-referral-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: #0a0e1a;
  border: 2px solid rgba(251,191,36,0.5);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rd-referral-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.rd-referral-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a0e1a;
  margin-bottom: 10px;
}
.rd-referral-step-text {
  font-size: 0.85rem;
  color: #5a6a8a;
  line-height: 1.6;
}
.rd-referral-arrow {
  font-size: 1.8rem;
  color: rgba(251,191,36,0.5);
  padding: 0 16px;
  flex-shrink: 0;
  text-align: center;
}
.rd-referral-callout {
  margin-top: clamp(32px, 4vw, 48px);
  background: rgba(251,191,36,0.07);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
}
.rd-referral-callout-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  color: #2a3550;
  line-height: 1.6;
}
.rd-referral-callout-emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .rd-pricing-cards { grid-template-columns: 1fr; }
  .rd-pricing-cards--3 { grid-template-columns: 1fr; }
  .rd-pcc-header, .rd-pcc-row {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  }
  .rd-pcc-col { padding: 12px 10px; font-size: 0.78rem; }
}
@media (max-width: 640px) {
  .rd-referral-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rd-referral-arrow { transform: rotate(90deg); text-align: center; }
  .rd-pricing-compare-grid { overflow-x: auto; }
  .rd-pcc-header, .rd-pcc-row { min-width: 560px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   ROLE CARDS — updated Apple palette (Blue / Orange / Green)
   ════════════════════════════════════════════════════════════════════════════ */

/* Override tenant (was green #30d158 → Apple Blue #007AFF) */
.rd-role-card--tenant { border-color: rgba(0,122,255,0.18); }
.rd-role-card--tenant .rd-role-glow { background: radial-gradient(ellipse at 50% 0%, rgba(0,122,255,0.18) 0%, transparent 70%); }
.rd-role-card--tenant .rd-role-icon--tenant { background: rgba(0,122,255,0.12); border-color: rgba(0,122,255,0.22); }
.rd-role-card--tenant .rd-role-badge--tenant { background: rgba(0,122,255,0.12); color: #60a5fa; border-color: rgba(0,122,255,0.22); }
.rd-role-card--tenant .rd-role-check--tenant { background: rgba(0,122,255,0.14); color: #60a5fa; border-color: rgba(0,122,255,0.22); }
.rd-role-card--tenant .rd-role-divider { background: linear-gradient(90deg, rgba(0,122,255,0.3), transparent); }
.rd-role-card--tenant .rd-role-cta--tenant { color: #60a5fa; border-color: rgba(0,122,255,0.25); }
.rd-role-card--tenant .rd-role-cta--tenant:hover { background: rgba(0,122,255,0.1); border-color: rgba(0,122,255,0.45); }
.rd-role-card--tenant::before { background: linear-gradient(135deg, rgba(0,122,255,0.12), transparent 60%); }
.rd-role-card--tenant:hover { border-color: rgba(0,122,255,0.32); }

/* Override agency (was purple #bf5af2 → Apple Orange #FF9500) */
.rd-role-card--agency { border-color: rgba(255,149,0,0.18); }
.rd-role-card--agency .rd-role-glow { background: radial-gradient(ellipse at 50% 0%, rgba(255,149,0,0.16) 0%, transparent 70%); }
.rd-role-card--agency .rd-role-icon--agency { background: rgba(255,149,0,0.1); border-color: rgba(255,149,0,0.2); }
.rd-role-card--agency .rd-role-badge--agency { background: rgba(255,149,0,0.1); color: #fbbf24; border-color: rgba(255,149,0,0.2); }
.rd-role-card--agency .rd-role-check--agency { background: rgba(255,149,0,0.12); color: #fbbf24; border-color: rgba(255,149,0,0.2); }
.rd-role-card--agency .rd-role-divider { background: linear-gradient(90deg, rgba(255,149,0,0.3), transparent); }
.rd-role-card--agency .rd-role-cta--agency { color: #fbbf24; border-color: rgba(255,149,0,0.25); }
.rd-role-card--agency .rd-role-cta--agency:hover { background: rgba(255,149,0,0.1); border-color: rgba(255,149,0,0.45); }
.rd-role-card--agency::before { background: linear-gradient(135deg, rgba(255,149,0,0.1), transparent 60%); }
.rd-role-card--agency:hover { border-color: rgba(255,149,0,0.32); }

/* Override owner (was blue #5ac8fa → Apple Green #34C759) */
.rd-role-card--owner { border-color: rgba(52,199,89,0.18); }
.rd-role-card--owner .rd-role-glow { background: radial-gradient(ellipse at 50% 0%, rgba(52,199,89,0.14) 0%, transparent 70%); }
.rd-role-card--owner .rd-role-icon--owner { background: rgba(52,199,89,0.1); border-color: rgba(52,199,89,0.2); }
.rd-role-card--owner .rd-role-badge--owner { background: rgba(52,199,89,0.1); color: #4ade80; border-color: rgba(52,199,89,0.2); }
.rd-role-card--owner .rd-role-check--owner { background: rgba(52,199,89,0.12); color: #4ade80; border-color: rgba(52,199,89,0.2); }
.rd-role-card--owner .rd-role-divider { background: linear-gradient(90deg, rgba(52,199,89,0.3), transparent); }
.rd-role-card--owner .rd-role-cta--owner { color: #4ade80; border-color: rgba(52,199,89,0.25); }
.rd-role-card--owner .rd-role-cta--owner:hover { background: rgba(52,199,89,0.1); border-color: rgba(52,199,89,0.45); }
.rd-role-card--owner::before { background: linear-gradient(135deg, rgba(52,199,89,0.1), transparent 60%); }
.rd-role-card--owner:hover { border-color: rgba(52,199,89,0.32); }

/* ════════════════════════════════════════════════════════════════════════════
   SEPA SECTION — mobile fix
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
  .rd-sepa-visual {
    gap: 9px;
  }
  .rd-sepa-row {
    padding: 13px 14px;
    gap: 6px;
  }
  .rd-sepa-month {
    font-size: 0.82rem;
    min-width: 72px;
  }
  .rd-sepa-amount {
    font-size: 0.9rem;
    flex: 1;
    text-align: right;
  }
  .rd-sepa-status {
    font-size: 0.65rem;
    padding: 3px 8px;
    white-space: nowrap;
  }
}

/* ── Hero subtitle AI span mobile ─────────────────────────────────────────── */
@media (max-width: 540px) {
  .hero-subtitle-ai { display: inline; }
}

/* ════════════════════════════════════════════════════════════════════════════
   DOSSIER TYPES — tipologie disponibili (sostituisce rd-dossier-coming)
   ════════════════════════════════════════════════════════════════════════════ */
.rd-dossier-types {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(48,209,88,0.05);
  border: 1px solid rgba(48,209,88,0.18);
}
.rd-dossier-types-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #30d158;
  margin-bottom: 14px;
}
.rd-dossier-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rd-dossier-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 14px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(48,209,88,0.14);
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.rd-dossier-type-card:hover {
  background: rgba(48,209,88,0.08);
  border-color: rgba(48,209,88,0.3);
}
.rd-dossier-type-icon {
  color: #30d158;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(48,209,88,0.1);
}
.rd-dossier-type-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(240,244,255,0.85);
  line-height: 1.2;
}

/* Light section override */
.rd-light .rd-dossier-types {
  background: rgba(48,209,88,0.04);
  border-color: rgba(48,209,88,0.2);
}
.rd-light .rd-dossier-type-card {
  background: rgba(0,0,0,0.02);
  border-color: rgba(48,209,88,0.15);
}
.rd-light .rd-dossier-type-card:hover {
  background: rgba(48,209,88,0.07);
}
.rd-light .rd-dossier-type-name { color: #1a3a2a; }

@media (max-width: 480px) {
  .rd-dossier-type-cards { grid-template-columns: 1fr; }
  .rd-dossier-type-card { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 14px; }
}

/* ══════════════════════════════════════════════════════
   HERO CTA IMPROVEMENTS
   ══════════════════════════════════════════════════════ */

/* Redesigned CTA pair: full-width column layout */
.hero-cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: min(920px, 100%);
  margin-top: 8px;
}

/* Individual CTA card */
.hero-cta {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 22px 20px;
  gap: 18px;
  align-items: flex-start;
  border-radius: 22px;
}

/* Colored top accent bar */
.hero-cta-accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 22px 22px 0 0;
}
.hero-cta--tenant .hero-cta-accent-bar {
  background: linear-gradient(90deg, #007AFF, #5ac8fa);
}
.hero-cta--owner .hero-cta-accent-bar {
  background: linear-gradient(90deg, #bf5af2, #ff9f0a);
}

/* Icon — bigger and rounder */
.hero-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Badge pill */
.hero-cta-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 4px;
}
.hero-cta--tenant .hero-cta-badge {
  background: rgba(90,200,250,0.12);
  color: #5ac8fa;
  border: 1px solid rgba(90,200,250,0.22);
}
.hero-cta--owner .hero-cta-badge {
  background: rgba(191,90,242,0.1);
  color: #bf5af2;
  border: 1px solid rgba(191,90,242,0.22);
}

/* Title — larger and bolder */
.hero-cta-title {
  font-size: clamp(1rem, 1.4vw, 1.2rem) !important;
  font-weight: 800 !important;
  white-space: normal !important;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
  display: block;
}

/* Sub — slightly more visible */
.hero-cta-sub {
  font-size: 0.82rem !important;
  color: rgba(200,220,255,0.55) !important;
  white-space: normal !important;
  line-height: 1.5;
}

/* Arrow — vertically centered */
.hero-cta-arrow {
  margin-top: auto;
  align-self: center;
}

/* Mobile */
@media (max-width: 600px) {
  .hero-cta-pair { grid-template-columns: 1fr; gap: 12px; }
  .hero-cta-title { font-size: 1rem !important; }
  .hero-cta { padding: 18px 16px 18px 16px; }
  .hero-cta-icon { width: 44px; height: 44px; }
}

/* ══════════════════════════════════════════════════════
   HERO SUBTITLE — AI shimmer effect
   ══════════════════════════════════════════════════════ */

.hero-subtitle-ai {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(
    120deg,
    #5ac8fa 0%,
    #a8d8ff 30%,
    #5ac8fa 50%,
    #007AFF 70%,
    #5ac8fa 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ai-shimmer 4s linear infinite;
  letter-spacing: -0.01em;
}

@keyframes ai-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ══════════════════════════════════════════════════════
   FOOTER REDESIGN — Apple minimal
   ══════════════════════════════════════════════════════ */

.site-footer {
  background: rgba(5,8,16,0.98) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding: clamp(40px, 5vw, 64px) 24px clamp(24px, 3vw, 40px) !important;
}

.footer-inner {
  display: grid !important;
  grid-template-columns: 1.6fr 1fr 1fr !important;
  gap: 40px !important;
  max-width: 1000px !important;
}

.footer-logo {
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  color: rgba(255,255,255,0.85) !important;
}

.footer-tagline {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.35) !important;
  line-height: 1.55 !important;
  margin: 0 0 8px !important;
}

.footer-countries {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.22) !important;
  letter-spacing: 0.04em;
}

.footer-col-title {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: rgba(255,255,255,0.25) !important;
  margin: 0 0 16px !important;
}

.footer-links ul, .footer-legal ul {
  gap: 9px !important;
}

.footer-links a, .footer-legal a {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.45) !important;
  transition: color 0.18s ease !important;
}
.footer-links a:hover, .footer-legal a:hover {
  color: rgba(255,255,255,0.8) !important;
}

.footer-copy {
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.2) !important;
  margin-top: 24px !important;
  line-height: 1.7 !important;
}

/* Cookie consent button — align with design */
#rd-cookie-settings-btn,
.rd-cookie-settings-link,
[id*="cookie"] button,
.cc-revoke {
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.22) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  font-family: inherit !important;
}
#rd-cookie-settings-btn:hover,
.rd-cookie-settings-link:hover {
  color: rgba(255,255,255,0.5) !important;
}

/* Footer cookie link — inline with legal links */
.footer-cookie-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  text-align: left;
  transition: color 0.18s;
}
.footer-cookie-link:hover { color: rgba(255,255,255,0.8); }

/* Mobile footer */
@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS (Apple-style)
   ══════════════════════════════════════════════════════ */

/* Elements with data-rd-reveal get a fade+rise transition */
[data-rd-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-rd-reveal].rd-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
[data-rd-reveal][data-rd-delay="1"] { transition-delay: 0.1s; }
[data-rd-reveal][data-rd-delay="2"] { transition-delay: 0.2s; }
[data-rd-reveal][data-rd-delay="3"] { transition-delay: 0.3s; }
[data-rd-reveal][data-rd-delay="4"] { transition-delay: 0.4s; }
[data-rd-reveal][data-rd-delay="5"] { transition-delay: 0.5s; }

/* Card reveal — scale in from slightly smaller */
[data-rd-reveal][data-rd-anim="scale"] {
  transform: translateY(20px) scale(0.97);
}
[data-rd-reveal][data-rd-anim="scale"].rd-visible {
  transform: translateY(0) scale(1);
}

/* No animation if prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [data-rd-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME — Caparra che frutta section
   ══════════════════════════════════════════════════════════════════════════ */

.rd-caparra-section { }

.rd-caparra-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px,5vw,64px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .rd-caparra-tiers { grid-template-columns: 1fr; max-width: 420px; }
}

.rd-caparra-tier {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.rd-caparra-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.rd-caparra-bar {
  height: 5px;
  width: 100%;
}
.rd-caparra-bar--safe     { background: linear-gradient(90deg,#34c759,#4cd964); }
.rd-caparra-bar--balanced { background: linear-gradient(90deg,#f59e0b,#fbbf24); }
.rd-caparra-bar--dynamic  { background: linear-gradient(90deg,#ff6b35,#ff9500); }

.rd-caparra-tier-body {
  padding: 24px 22px 28px;
}

.rd-caparra-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.rd-caparra-tier--safe     .rd-caparra-label { color: #34c759; }
.rd-caparra-tier--balanced .rd-caparra-label { color: #fbbf24; }
.rd-caparra-tier--dynamic  .rd-caparra-label { color: #ff9500; }

.rd-caparra-risk {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.rd-caparra-return {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.9);
  line-height: 1;
}
.rd-caparra-return span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ── Owner section ─────────────────────────────────────── */
.rd-section-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rd-section-2col--reverse {
  /* on desktop the text is left, visual right — default order */
}

/* Owner benefit list */
.rd-owner-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rd-owner-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.rd-owner-list-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.rd-oli--purple { background: rgba(191,90,242,0.1); border: 1px solid rgba(191,90,242,0.2); color: #bf5af2; }
.rd-oli--blue   { background: rgba(0,122,255,0.1);  border: 1px solid rgba(0,122,255,0.2);  color: #5ac8fa; }
.rd-oli--teal   { background: rgba(90,200,250,0.1); border: 1px solid rgba(90,200,250,0.2); color: #5ac8fa; }
.rd-oli--green  { background: rgba(52,199,89,0.1);  border: 1px solid rgba(52,199,89,0.2);  color: #34C759; }
.rd-owner-list strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 3px;
}
.rd-owner-list span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
}

.rd-owner-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Owner dashboard mock */
.rd-owner-mock {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 60px rgba(191,90,242,0.08), 0 32px 64px rgba(0,0,0,0.35);
}
.rd-owner-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.rd-owner-mock-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.rd-owner-mock-count {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(191,90,242,0.15);
  border: 1px solid rgba(191,90,242,0.25);
  color: #bf5af2;
  padding: 3px 10px;
  border-radius: 100px;
}
.rd-owner-candidate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
  transition: border-color 0.2s;
}
.rd-owner-candidate--top {
  border-color: rgba(52,199,89,0.2);
  background: rgba(52,199,89,0.04);
}
.rd-owner-cand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rd-oav--1 { background: linear-gradient(135deg, #007AFF, #5ac8fa); }
.rd-oav--2 { background: linear-gradient(135deg, #bf5af2, #ff9f0a); }
.rd-oav--3 { background: linear-gradient(135deg, #34C759, #5ac8fa); }
.rd-owner-cand-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2px;
}
.rd-owner-cand-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.38);
}
.rd-owner-cand-score {
  margin-left: auto;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.rd-ocs--high { color: #34C759; }
.rd-ocs--mid  { color: #5ac8fa; }
.rd-owner-mock-footer {
  margin-top: 16px;
  text-align: center;
}
.rd-owner-mock-ai-badge {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 900px) {
  .rd-section-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rd-col-visual { order: -1; }
}

/* ── Expat section ─────────────────────────────────────── */
.rd-expat-section {
  position: relative;
  overflow: hidden;
}

.rd-expat-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}

/* Globe visual */
.rd-expat-globe {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.rd-expat-globe-orb {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(90,200,250,0.18) 0%, rgba(0,122,255,0.06) 50%, transparent 70%);
  border: 1px solid rgba(90,200,250,0.12);
  position: relative;
}

.rd-expat-globe-orb::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(90,200,250,0.06);
}

.rd-expat-globe-orb::after {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(90,200,250,0.04);
  animation: rd-globe-spin 30s linear infinite;
}

@keyframes rd-globe-spin {
  to { transform: rotate(360deg); }
}

.rd-expat-flags {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-expat-flag {
  position: absolute;
  font-size: 1.8rem;
  animation: rd-flag-orbit 12s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.rd-expat-flag:nth-child(1) { transform: translate(0, -110px); }
.rd-expat-flag:nth-child(2) { transform: translate(95px, -55px); }
.rd-expat-flag:nth-child(3) { transform: translate(95px, 55px); }
.rd-expat-flag:nth-child(4) { transform: translate(0, 110px); }
.rd-expat-flag:nth-child(5) { transform: translate(-95px, 55px); }
.rd-expat-flag:nth-child(6) { transform: translate(-95px, -55px); }

@keyframes rd-flag-orbit {
  0%, 100% { opacity: 0.7; transform: translate(var(--tx, 0), var(--ty, 0)) scale(1); }
  50% { opacity: 1; transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.15); }
}

/* Override the flag positions inside the animation properly */
.rd-expat-flag:nth-child(1) { --tx: 0px; --ty: -110px; }
.rd-expat-flag:nth-child(2) { --tx: 95px; --ty: -55px; }
.rd-expat-flag:nth-child(3) { --tx: 95px; --ty: 55px; }
.rd-expat-flag:nth-child(4) { --tx: 0px; --ty: 110px; }
.rd-expat-flag:nth-child(5) { --tx: -95px; --ty: 55px; }
.rd-expat-flag:nth-child(6) { --tx: -95px; --ty: -55px; }

/* Force initial position via transform */
.rd-expat-flag { transform: translate(var(--tx, 0), var(--ty, 0)); }

/* Eyebrow */
.rd-eyebrow--expat {
  background: rgba(90,200,250,0.08) !important;
  color: #5ac8fa !important;
  border-color: rgba(90,200,250,0.22) !important;
}

/* Title */
.rd-expat-title {
  max-width: 480px;
}

/* Benefit cards */
.rd-expat-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}

.rd-expat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: border-color 0.2s;
}

.rd-expat-card:hover {
  border-color: rgba(90,200,250,0.15);
}

.rd-expat-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rd-eci--blue   { background: rgba(0,122,255,0.1);  border: 1px solid rgba(0,122,255,0.2);  color: #5ac8fa; }
.rd-eci--purple { background: rgba(191,90,242,0.1); border: 1px solid rgba(191,90,242,0.2); color: #bf5af2; }
.rd-eci--teal   { background: rgba(90,200,250,0.1); border: 1px solid rgba(90,200,250,0.2); color: #5ac8fa; }
.rd-eci--green  { background: rgba(52,199,89,0.1);  border: 1px solid rgba(52,199,89,0.2);  color: #34C759; }

.rd-expat-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 3px;
}

.rd-expat-card span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
}

.rd-expat-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .rd-expat-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rd-expat-globe {
    min-height: 200px;
    order: -1;
  }
  .rd-expat-globe-orb {
    width: 160px;
    height: 160px;
  }
  .rd-expat-flag:nth-child(1) { --tx: 0px; --ty: -80px; }
  .rd-expat-flag:nth-child(2) { --tx: 70px; --ty: -40px; }
  .rd-expat-flag:nth-child(3) { --tx: 70px; --ty: 40px; }
  .rd-expat-flag:nth-child(4) { --tx: 0px; --ty: 80px; }
  .rd-expat-flag:nth-child(5) { --tx: -70px; --ty: 40px; }
  .rd-expat-flag:nth-child(6) { --tx: -70px; --ty: -40px; }
  .rd-expat-flag { font-size: 1.4rem; }
}


/* ════════════════════════════════════════════════════════════════
   FOOTER REDESIGN — clean 4-column + footer-row bottom
   Applies to every page with <footer class="site-footer">
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #050810 !important;
  border-top: 1px solid rgba(140, 245, 208, 0.10) !important;
  padding: 40px 28px 18px !important;
  color: rgba(220, 230, 245, 0.7);
}
.site-footer .footer-inner {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr !important;
  column-gap: 48px !important;
  row-gap: 24px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-footer .footer-brand { padding-right: 16px; }
.site-footer .footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #f0f4ff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 12px !important;
  text-decoration: none !important;
}
.site-footer .footer-logo svg { width: 24px !important; height: 24px !important; color: #8cf5d0; }
.site-footer .footer-tagline {
  font-size: 0.84rem !important;
  color: rgba(180, 200, 230, 0.6) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 340px;
}
.site-footer .footer-countries {
  display: none !important;  /* moved to bottom row */
}
.site-footer .footer-col-title {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(140, 245, 208, 0.85) !important;
  margin: 0 0 14px !important;
}
.site-footer .footer-links ul,
.site-footer .footer-legal ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.site-footer .footer-links a,
.site-footer .footer-legal a {
  text-decoration: none !important;
  font-size: 0.84rem !important;
  color: rgba(195, 215, 240, 0.72) !important;
  transition: color 0.15s ease, padding-left 0.15s ease;
  display: inline-block;
}
.site-footer .footer-links a:hover,
.site-footer .footer-legal a:hover {
  color: #8cf5d0 !important;
  padding-left: 3px;
}
.site-footer .footer-copy {
  display: none !important;  /* moved to bottom row */
}

/* Bottom row: copyright + countries + cookie link (single line) */
.site-footer::after {
  content: "© 2026 Rentadomus  •  🇮🇹 Italia · 🇫🇷 France · 🇧🇪 Belgique";
  display: block;
  max-width: 1200px;
  margin: 16px auto 0;
  padding-top: 14px;
  font-size: 0.7rem;
  color: rgba(140, 165, 200, 0.45);
  letter-spacing: 0.02em;
  text-align: center;
}

/* Cookie manage link (injected by cookie-consent.js): pin it inside footer with subtle style */
#rd-cookie-manage-link {
  font-size: 0.7rem !important;
  color: rgba(140, 165, 200, 0.55) !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-top: 12px !important;
}
#rd-cookie-manage-link:hover { color: #8cf5d0 !important; }

/* Responsive */
@media (max-width: 900px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr 1fr !important;
    column-gap: 32px !important;
  }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr !important;
  }
  .site-footer { padding: 28px 20px 14px !important; }
}
