/* ========== RESET BASIC ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1f2933 0, #020617 45%, #000000 100%);
  color: #e5e7eb;
}

/* Helpers */
.df-container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

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

/* ========== HEADER ========== */
.df-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.6));
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.df-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.df-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.df-logo img {
  width: 32px;
  height: 32px;
}

.df-logo span {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: #f9fafb;
}

/* ========== GLASS NAV ========== */
.df-nav {
  display: flex;
  justify-content: center;
  flex: 1;
}

.df-nav ul {
  --df-nav-height: 42px;
  --df-nav-btn-width: 96px;
  --df-nav-accent-1: rgba(59, 130, 246, 0.95);
  --df-nav-accent-2: rgba(34, 211, 238, 0.85);
  display: flex;
  list-style: none;
  padding: 0.26rem 0.36rem;
  margin: 0;
  gap: 0.26rem;
  align-items: center;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 10px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.df-nav-item {
  position: relative;
}

.df-nav-link {
  display: block;
  height: var(--df-nav-height);
  min-width: var(--df-nav-btn-width);
  width: auto;
  overflow: hidden;
  text-decoration: none;
  border-radius: 12px;
  position: relative;
  background: rgba(12, 18, 32, 0.45);
  padding: 0 0.85rem;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.df-nav-more {
  position: relative;
}

.df-nav-more-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 190px;
  padding: 0.45rem;
  border-radius: 14px;
  background: rgba(8, 12, 22, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.df-nav-more-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.df-nav-more-menu a:hover,
.df-nav-more-menu a:focus-visible {
  background: rgba(15, 23, 42, 0.7);
  color: #f8fafc;
}

.df-nav-more:hover .df-nav-more-menu,
.df-nav-more:focus-within .df-nav-more-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.df-nav-button {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.df-nav-link:hover,
.df-nav-link:focus-visible {
  background: rgba(15, 23, 42, 0.75);
  transform: translateY(-1px);
}

.df-nav-content {
  display: flex;
  flex-direction: column;
  height: calc(var(--df-nav-height) * 2);
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.df-nav-text,
.df-nav-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--df-nav-height);
  width: 100%;
}

.df-nav-text {
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.25s ease;
}

.df-nav-item.active .df-nav-text,
.df-nav-link:hover .df-nav-text,
.df-nav-link:focus-visible .df-nav-text {
  color: #f8fafc;
}

.df-nav-icon {
  color: rgba(59, 130, 246, 0.95);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.df-nav-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.3));
}

.df-nav-item:hover .df-nav-content,
.df-nav-item.active .df-nav-content {
  transform: translateY(-50%);
}

.df-nav-item:hover .df-nav-icon,
.df-nav-item.active .df-nav-icon {
  opacity: 1;
  transform: scale(1.12);
}

.df-nav-item::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: linear-gradient(120deg, var(--df-nav-accent-1), var(--df-nav-accent-2));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
  transition: transform 0.35s ease;
}

.df-nav-item.active::after {
  transform: translateX(-50%) scaleX(1);
}

.df-nav-link:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.9);
  outline-offset: -2px;
}

@media (max-width: 1100px) {
  .df-nav ul {
    --df-nav-btn-width: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .df-nav-link,
  .df-nav-content,
  .df-nav-icon,
  .df-nav-item::after {
    transition: none;
  }
}

/* Header buttons */
.df-header-cta {
  display: inline-flex;
}

/* Burger */
.df-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
}

.df-burger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Mobile nav */
.df-mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 50%;
  right: auto;
  z-index: 90;
  width: min(92vw, 520px);
  transform: translateX(-50%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  padding: 0.85rem 0.95rem 1.05rem;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(10, 15, 30, 0.98), rgba(8, 12, 26, 0.94));
  box-shadow: 0 20px 36px rgba(2, 6, 23, 0.55);
  max-height: 70vh;
  overflow-y: auto;
  backdrop-filter: blur(16px);
}

.df-mobile-nav.open {
  display: block;
}

.df-mobile-nav ul {
  list-style: none;
  margin: 0 0 0.75rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.df-mobile-nav .df-mobile-auth {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
  flex-direction: column;
}

.df-mobile-more details {
  border: none;
  background: transparent;
  padding: 0;
}

.df-mobile-more summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  font-weight: 600;
  color: #e5e7eb;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(12, 18, 32, 0.6);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.df-mobile-more summary::-webkit-details-marker {
  display: none;
}

.df-mobile-more summary::after {
  content: ">";
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.9);
  transition: transform 0.2s ease;
}

.df-mobile-more details[open] summary::after {
  transform: rotate(90deg);
}

.df-mobile-more-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.6rem;
}

.df-mobile-nav .df-btn-ghost-small,
.df-mobile-nav .df-btn-primary-small {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  min-height: 2.8rem;
  border-radius: 12px;
}
.df-mobile-nav .df-btn-ghost-small {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.6);
}
.df-mobile-nav .df-btn-primary-small {
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  color: #0b1020;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.35);
}

/* Language dropdown */
.df-header-actions {
  position: relative;
}
.df-lang-menu {
  position: absolute;
  right: 0;
  top: 110%;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  padding: 0.35rem;
  display: none;
  min-width: 180px;
  z-index: 55;
}
.df-lang-menu.open {
  display: grid;
}
.df-lang-menu button {
  background: transparent;
  border: none;
  color: #e5e7eb;
  text-align: left;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
}
.df-lang-menu button:hover {
  background: rgba(79, 70, 229, 0.12);
}

@media (max-width: 768px) {
  .df-lang-menu {
    right: auto;
    left: 0;
  }
}

.df-mobile-nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.45;
}

.df-mobile-nav > ul > li:not(.df-mobile-auth) > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(12, 18, 32, 0.55);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.df-mobile-nav .df-mobile-more-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(12, 18, 32, 0.55);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.df-mobile-nav > ul > li:not(.df-mobile-auth) > a:active,
.df-mobile-nav .df-mobile-more-links a:active,
.df-mobile-more summary:active {
  transform: scale(0.98);
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(99, 102, 241, 0.5);
}

@media (hover: hover) and (pointer: fine) {
  .df-mobile-nav > ul > li:not(.df-mobile-auth) > a:hover,
  .df-mobile-nav .df-mobile-more-links a:hover,
  .df-mobile-more summary:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(99, 102, 241, 0.45);
  }
}

/* ========== BUTTONS ========== */
.df-btn {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease, border 0.15s ease;
  text-decoration: none;
}

.df-btn-primary {
  background: linear-gradient(120deg, #6366f1, #22d3ee);
  color: #0b1020;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
}

.df-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.5);
}

.df-btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  color: #e5e7eb;
}

.df-btn-outline:hover {
  border-color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

.df-btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  border: 1px solid transparent;
}

.df-btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* ========== HERO ========== */
.df-hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.df-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  position: relative;
  z-index: 1;
}

.df-hero::before,
.df-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(8px);
}

.df-hero::before {
  left: -140px;
  top: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(99, 102, 241, 0.45),
    rgba(34, 211, 238, 0.18) 45%,
    rgba(2, 6, 23, 0) 70%
  );
  opacity: 0.55;
}

.df-hero::after {
  right: -180px;
  top: 40px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(56, 189, 248, 0.22),
    rgba(2, 6, 23, 0) 65%
  );
  opacity: 0.5;
}

.df-hero-text {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.df-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  padding: 0.2rem 0.85rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.35);
  margin-bottom: 1rem;
}

.df-hero h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #f9fafb;
}

.df-hero-subtitle {
  font-size: 0.98rem;
  color: #9ca3af;
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.df-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.7rem 0 1.1rem;
  justify-content: center;
}

.df-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
  justify-content: center;
}

.df-hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
}

/* Support */
.df-support {
  background: radial-gradient(circle at 20% 20%, rgba(34, 193, 233, 0.07), transparent 30%),
    linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(15, 23, 42, 0.9));
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}
.df-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}
.df-support-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.df-support-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  padding: 1rem;
  color: #e5e7eb;
}
.df-support-card p {
  margin: 0;
  color: #cbd5e1;
}


/* ========== Logo wall / Security / Mini changelog ========== */
.df-logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: center;
  justify-items: center;
}

.df-logo-wall .df-logo-pill {
  width: 100%;
  max-width: 200px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  text-align: center;
  color: #dbe3f5;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.8);
}

.df-security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.df-security-card,
.df-mini-changelog {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  max-width: 780px;
  margin: 2rem auto 0;
}

.df-security-card h3 {
  margin: 0 0 0.4rem;
  color: #e5e7eb;
}

.df-security-card p {
  margin: 0;
  color: #9fb5d1;
}

.df-mini-changelog ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.df-mini-changelog li {
  color: #dbe3f5;
  font-size: 0.95rem;
}

.df-mini-changelog li span {
  display: inline-block;
  min-width: 58px;
  padding: 0.2rem 0.55rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.16);
  border: 1px solid rgba(79, 70, 229, 0.35);
  color: #cbd5ff;
  font-weight: 700;
  font-size: 0.8rem;
}

.df-mini-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.1rem;
}

/* ========== AUTH (login/signup) ========== */
.df-auth-shell {
  min-height: 100vh;
  margin: 0;
  background: #0b111c;
  color: #e5e7eb;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.df-auth-bg,
.df-auth-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.df-auth-bg {
  background:
    radial-gradient(120% 80% at 5% 25%, rgba(59, 130, 246, 0.3), transparent 65%),
    radial-gradient(120% 80% at 90% 15%, rgba(34, 211, 238, 0.2), transparent 60%),
    #0b111c;
}

.df-auth-bg::before {
  content: "";
  position: absolute;
  width: 140vw;
  height: 60vh;
  left: -20vw;
  top: 18vh;
  background: linear-gradient(
    100deg,
    rgba(59, 130, 246, 0) 0%,
    rgba(59, 130, 246, 0.55) 35%,
    rgba(34, 211, 238, 0.45) 55%,
    rgba(56, 189, 248, 0) 80%
  );
  border-radius: 50%;
  transform: rotate(-8deg) scaleY(0.6);
  filter: blur(20px);
  opacity: 0.9;
}

.df-auth-bg::after {
  content: "";
  position: absolute;
  width: 120vw;
  height: 52vh;
  left: -10vw;
  top: 32vh;
  background: linear-gradient(
    100deg,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.7) 45%,
    rgba(15, 23, 42, 0) 78%
  );
  border-radius: 50%;
  transform: rotate(-6deg) scaleY(0.7);
  filter: blur(18px);
  opacity: 0.9;
}

.df-auth-gradient {
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.22), rgba(8, 47, 73, 0.08));
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.df-header-auth {
  background: transparent;
  padding-top: 1.4rem;
  position: relative;
  z-index: 2;
}

.df-auth-main {
  max-width: 520px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.df-auth-card {
  position: relative;
  background: linear-gradient(165deg, rgba(12, 19, 35, 0.94), rgba(10, 16, 30, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.35),
    0 12px 30px rgba(79, 70, 229, 0.15);
  backdrop-filter: blur(16px);
}

.df-auth-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.df-auth-logo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.df-auth-logo h1 {
  margin: 0;
  font-size: 1.35rem;
  color: #f8fafc;
}

.df-auth-subtitle {
  margin: 0.15rem 0 0.25rem;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.45;
}

.df-auth-subtext {
  margin: 0;
  color: #9fb5d1;
  font-size: 0.95rem;
  line-height: 1.45;
}

.df-auth-form {
  display: grid;
  gap: 0.65rem;
}

.df-auth-card .df-signup-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.df-auth-signup .df-auth-main {
  max-width: 620px;
}

.df-auth-form label {
  color: #cbd5e1;
  font-weight: 600;
}

.df-auth-btn {
  width: 100%;
  margin-top: 0.4rem;
}

.df-auth-meta {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #b4c3d8;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.df-auth-meta a,
#df-login-forgot {
  color: #7dd3fc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.df-auth-meta a:hover,
#df-login-forgot:hover {
  color: #a5f3fc;
  border-bottom-color: rgba(125, 211, 252, 0.5);
}

.df-auth-meta a:focus-visible,
#df-login-forgot:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.6);
  outline-offset: 3px;
  border-bottom-color: transparent;
}

.df-auth-footer {
  margin-top: 0.6rem;
}

@media (max-width: 640px) {
  .df-auth-shell {
    background: #0b111c;
  }

  .df-auth-bg::before {
    width: 160vw;
    height: 50vh;
    top: 22vh;
  }

  .df-auth-bg::after {
    width: 150vw;
    height: 46vh;
    top: 34vh;
  }

  .df-auth-main {
    max-width: 460px;
    margin: 1.4rem auto 2.4rem;
    padding: 0 1.1rem;
  }

  .df-auth-card {
    border-radius: 18px;
    padding: 1.35rem;
    box-shadow:
      0 18px 46px rgba(0, 0, 0, 0.32),
      0 10px 24px rgba(79, 70, 229, 0.12);
  }

  .df-auth-head {
    display: block;
    margin-bottom: 1rem;
  }

  .df-auth-logo h1 {
    font-size: 1.25rem;
  }

  .df-auth-logo p,
  .df-auth-meta {
    font-size: 0.95rem;
  }

  .df-auth-btn {
    margin-top: 0.2rem;
    min-height: 2.9rem;
  }

  .df-input {
    min-height: 2.8rem;
  }

  .df-auth-signup .df-auth-main {
    max-width: 520px;
  }
}

.df-auth-error {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #f87171;
}

.df-pass-checklist {
  margin: 10px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.df-pass-checklist ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 4px;
}
.df-pass-checklist li {
  padding-left: 22px;
  position: relative;
  color: #cbd5e1;
  font-size: 0.9rem;
}
.df-pass-checklist li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #f87171;
  font-weight: 700;
}
.df-pass-checklist li.ok {
  color: #22c55e;
  font-weight: 600;
}
.df-pass-checklist li.ok::before {
  content: "✓";
  color: #22c55e;
}
.df-pass-status {
  font-weight: 700;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.df-pass-status.good {
  color: #22c55e;
}

.df-human-card {
  margin: 12px 0 6px;
  padding: 14px;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.08), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.22);
}
.df-human-title {
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 6px;
}
.df-human-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 600;
}
.df-human-check input {
  width: 18px;
  height: 18px;
}
.df-human-note {
  margin: 6px 0 0;
  color: #cbd5e1;
  font-size: 0.88rem;
}

.cf-turnstile {
  margin-top: 0.35rem;
  padding: 6px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

/* ========== SECTIONS GENERIC ========== */
.df-section {
  padding: 4rem 0;
}

.df-section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.95));
}

/* Subtle scroll reveal */
.df-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: var(--df-reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .df-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.df-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.df-section-header h2 {
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
  color: #f9fafb;
  line-height: 1.25;
}

.df-section-header p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* ========== FEATURES ========== */
.df-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.df-feature-card {
  border-radius: 1rem;
  padding: 1.4rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.8);
}

.df-feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.df-feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Subtle hover lift for cards */
.df-feature-card,
.df-step,
.df-download-card,
.df-security-card,
.df-support-card,
.df-changelog-card,
.df-mini-changelog,
.df-logo-wall .df-logo-pill {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.df-feature-card::after,
.df-step::after,
.df-download-card::after,
.df-security-card::after,
.df-support-card::after,
.df-changelog-card::after,
.df-mini-changelog::after,
.df-logo-wall .df-logo-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(99, 102, 241, 0.16),
    rgba(15, 23, 42, 0) 60%
  );
}

.df-feature-card:hover,
.df-step:hover,
.df-download-card:hover,
.df-security-card:hover,
.df-support-card:hover,
.df-changelog-card:hover,
.df-mini-changelog:hover,
.df-logo-wall .df-logo-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.6), 0 0 24px rgba(99, 102, 241, 0.18);
}

.df-feature-card:hover::after,
.df-step:hover::after,
.df-download-card:hover::after,
.df-security-card:hover::after,
.df-support-card:hover::after,
.df-changelog-card:hover::after,
.df-mini-changelog:hover::after,
.df-logo-wall .df-logo-pill:hover::after {
  opacity: 1;
}

/* ========== STEPS ========== */
.df-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.df-step {
  position: relative;
  padding: 1.5rem 1.4rem 1.3rem;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.df-step-number {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.55);
}

.df-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.df-step p {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ========== PRICING ========== */
.df-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

.df-pricing-card {
  border-radius: 1.2rem;
  padding: 1.7rem 1.5rem 1.4rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(55, 65, 81, 0.9);
  transition: transform 0.25s ease, box-shadow 0.35s ease, border-color 0.35s ease,
    background 0.35s ease;
}

.df-pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow:
    0 16px 44px rgba(99, 102, 241, 0.22),
    0 0 32px rgba(56, 189, 248, 0.28);
  background: radial-gradient(
      circle at 22% 18%,
      rgba(99, 102, 241, 0.16),
      rgba(15, 23, 42, 0)
    ),
    radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0)),
    rgba(15, 23, 42, 0.96);
}

.df-pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.df-price {
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
  color: #f9fafb;
}

.df-price span {
  font-size: 0.85rem;
  color: #9ca3af;
}

.df-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.df-pricing-card li + li {
  margin-top: 0.25rem;
}

.df-pricing-card .df-btn {
  width: 100%;
}

.df-pricing-featured {
  position: relative;
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.22), rgba(15, 23, 42, 0.95));
  border-color: rgba(129, 140, 248, 0.8);
  box-shadow: none;
}

.df-pricing-featured:hover {
  box-shadow:
    0 22px 70px rgba(99, 102, 241, 0.5),
    0 0 58px rgba(56, 189, 248, 0.42);
  background: radial-gradient(
      circle at 25% 15%,
      rgba(56, 189, 248, 0.18),
      rgba(79, 70, 229, 0.05),
      rgba(15, 23, 42, 0.9)
    ),
    radial-gradient(circle at 80% 30%, rgba(99, 102, 241, 0.2), rgba(15, 23, 42, 0.9));
}

.df-badge-pill {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.7);
}

.df-pricing-note {
  margin: 1rem auto 0;
  max-width: 720px;
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.4;
}

.df-pricing-offer {
  margin: 0.75rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #d1fae5;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.df-plan-offer {
  margin: 0 0 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #d1fae5;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ========== DOWNLOAD SECTION ========== */
.df-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: flex-start;
}

.df-download-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.df-download-column h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.df-download-subtitle {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.df-download-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.df-platform-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.df-platform-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  box-shadow: inset 0 0 12px rgba(99, 102, 241, 0.15);
}

.df-platform-icon-windows {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(30, 58, 138, 0.35);
}

.df-platform-icon-macos {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(30, 41, 59, 0.45);
}

.df-platform-icon-linux {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(120, 53, 15, 0.35);
}

.df-platform-icon-android {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(20, 83, 45, 0.4);
}

.df-platform-icon-ios {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(30, 58, 138, 0.35);
}

.df-download-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 1.1rem;
  padding: 1.25rem 1.3rem 1.35rem;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.92),
    rgba(15, 23, 42, 0.78)
  );
  border: 1px solid rgba(99, 102, 241, 0.18);
  margin: 0;
  transition: border 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.df-download-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.df-download-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #9ca3af;
}

.df-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.df-download-card .df-store-badge {
  margin-top: auto;
}

.df-download-card.highlighted {
  border-color: #a5b4fc;
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.5);
  transform: translateY(-1px);
}

/* Store badge */
.df-store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  text-decoration: none;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.95));
}

.df-store-title {
  font-size: 0.75rem;
  color: #d1d5db;
}

.df-store-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
}

.df-download-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ========== FAQ ========== */
.df-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem 1.7rem;
}

.df-faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.df-faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ========== FOOTER ========== */
.df-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at 15% 0%, rgba(59, 130, 246, 0.12), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.1), transparent 40%),
    #020617;
  padding: 2.4rem 0 2.6rem;
}

.df-footer-inner {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  grid-template-areas:
    "brand copy social"
    "brand meta social";
  column-gap: clamp(1.2rem, 4vw, 3.2rem);
  row-gap: 0.4rem;
  align-items: center;
}

.df-footer-logo img {
  width: 26px;
  height: 26px;
}

.df-footer-brand {
  display: flex;
  align-items: center;
  grid-area: brand;
  align-self: center;
}

.df-footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  color: #9fb5d1;
  max-width: 360px;
  grid-area: copy;
  text-align: center;
  justify-self: center;
}

.df-footer-title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb5d1;
}

.df-footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
  justify-self: end;
  grid-area: social;
}

.df-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.df-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.df-social-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.df-social-btn:hover,
.df-social-btn:focus-visible {
  transform: translateY(-2px) scale(1.03);
  border-color: transparent;
  color: #0b1020;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(34, 211, 238, 0.95));
  box-shadow: 0 12px 26px rgba(59, 130, 246, 0.35);
  outline: none;
}

.df-footer-meta {
  font-size: 0.8rem;
  color: #6b7280;
  grid-area: meta;
  text-align: center;
  justify-self: center;
}

.df-footer-legal {
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.df-footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.df-footer-legal a:hover,
.df-footer-legal a:focus-visible {
  color: #e2e8f0;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.6);
}

.df-footer-legal span {
  opacity: 0.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .df-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .df-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .df-steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .df-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
  }

  .df-download-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .df-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .df-footer-inner {
    text-align: center;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "copy"
      "social"
      "meta";
    justify-items: center;
    row-gap: 0.9rem;
  }

  .df-footer-brand {
    align-items: center;
  }

  .df-footer-social {
    align-items: center;
    text-align: center;
    justify-self: center;
    width: 100%;
    margin-inline: auto;
  }

  .df-footer-socials {
    width: 100%;
    justify-content: center;
    margin-inline: auto;
  }

  .df-nav {
    display: none;
  }

  .df-header-cta {
    display: none;
  }

  .df-burger {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16.5px;
    line-height: 1.6;
  }

  .df-section {
    padding: 2.8rem 0;
  }

  .df-header-inner {
    padding-inline: 0.5rem;
  }

  .df-container {
    width: min(100% - 1.5rem, 1120px);
  }

  .df-download-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .df-hero {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .df-hero::before {
    left: -180px;
    top: -200px;
    width: 420px;
    height: 420px;
    opacity: 0.45;
  }

  .df-hero::after {
    display: none;
  }

  .df-features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .df-btn {
    padding: 0.55rem 1.2rem;
    min-height: 2.6rem;
  }
  .df-btn-primary {
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.35);
  }

  .df-lang-toggle {
    padding: 0.4rem 0.95rem;
  }

  .df-feature-card,
  .df-step,
  .df-pricing-card,
  .df-support-card,
  .df-security-card,
  .df-mini-changelog {
    border-radius: 1.1rem;
    padding: 1.15rem 1.15rem;
  }

  .df-support-actions .df-btn {
    width: 100%;
    justify-content: center;
  }

  .df-footer-inner {
    text-align: center;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "copy"
      "social"
      "meta";
    justify-items: center;
    row-gap: 0.9rem;
  }

  .df-footer-social {
    justify-self: center;
  }

}

/* ========== LANGUAGE TOGGLE ========== */
.df-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

#df-auth-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.df-lang-toggle {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(10, 15, 30, 0.7);
  color: #e5e7eb;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 2.5rem;
  transition: background 0.15s ease, border 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.df-lang-toggle:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(191, 219, 254, 0.75);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.35);
}

/* ========== CHANGELOG ========== */
.df-changelog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

#changelog {
  padding-top: 2.2rem;
  padding-bottom: 1.8rem;
}

#changelog .df-section-header {
  margin-bottom: 1.1rem;
}

#df-changelog-grid .df-changelog-empty {
  max-width: 520px;
  margin: 0 auto;
}

#faq {
  padding-top: 1.6rem;
}

.df-changelog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #9ca3af;
  padding: 1.2rem;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
}

.df-changelog-card {
  border-radius: 1.1rem;
  padding: 1.2rem 1.2rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.df-changelog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.df-changelog-card-title {
  font-size: 1rem;
  font-weight: 500;
  color: #f9fafb;
}

.df-changelog-card-latest {
  font-size: 0.8rem;
  color: #a5b4fc;
}

.df-changelog-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.df-changelog-list li + li {
  margin-top: 0.35rem;
}

.df-changelog-version-label {
  font-weight: 500;
  color: #e5e7eb;
}

/* ========== GENERIC PAGE LAYOUT (privacy / terms / 404) ========== */
.df-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.df-page-main {
  flex: 1;
  padding: 4rem 0 3rem;
}

.df-page-header-block {
  text-align: left;
  margin-bottom: 2rem;
}

.df-page-header-block h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: #f9fafb;
}

.df-page-header-block p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

.df-page-content {
  max-width: 768px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.df-page-content h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.df-page-content p {
  margin: 0.4rem 0;
  color: #cbd5f5;
}

.df-page-content ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}

.df-page-content li {
  margin-bottom: 0.25rem;
}

/* Legal pages */
.df-legal-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 12% -20%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(900px 560px at 88% 8%, rgba(34, 211, 238, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.98), rgba(7, 12, 22, 0.98));
}

.df-legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.25;
  pointer-events: none;
}

.df-legal-page::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: -28%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.df-legal-page .df-container {
  position: relative;
  z-index: 1;
}

.df-legal-shell {
  position: relative;
  display: grid;
  gap: 2.2rem;
  padding: 2.6rem 2.8rem;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(140deg, rgba(9, 16, 28, 0.96), rgba(10, 20, 36, 0.94));
  box-shadow:
    0 32px 70px rgba(3, 7, 18, 0.6),
    inset 0 0 0 1px rgba(59, 130, 246, 0.05);
  overflow: hidden;
}

.df-legal-shell::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), rgba(59, 130, 246, 0.08) 45%, transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.df-legal-shell::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -12%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.df-legal-shell > * {
  position: relative;
  z-index: 1;
}

.df-legal-page .df-page-header-block {
  margin-bottom: 0;
}

.df-legal-hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.df-legal-hero p {
  max-width: 680px;
  font-size: 1rem;
  color: #b7c3d6;
  line-height: 1.6;
}

.df-legal-content {
  max-width: 860px;
  margin: 0;
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.7;
}

.df-legal-content::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.35), rgba(148, 163, 184, 0.08));
}

.df-legal-content h2 {
  position: relative;
  padding-left: 0.6rem;
  margin-top: 1.7rem;
  font-size: 1.12rem;
  color: #f8fafc;
}

.df-legal-content h2::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: 0.38rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #60a5fa);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.df-legal-content p {
  color: #cdd7e5;
}

.df-legal-cta {
  margin-top: 2rem;
}

.df-signup-card {
  background: linear-gradient(160deg, rgba(16, 24, 40, 0.9), rgba(10, 16, 28, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 20px;
  padding: 1.4rem 1.25rem 1.6rem;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(79, 70, 229, 0.12);
}

.df-signup-card label {
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 0.35rem;
}

.df-signup-card .df-input {
  min-height: 2.6rem;
}

.df-signup-card .df-pass-checklist,
.df-signup-card .df-human-card {
  margin-top: 0.75rem;
}

.df-signup-card .df-plan-row {
  display: grid;
  gap: 0.6rem;
}

/* 404 page specifics */
.df-404-hero {
  text-align: center;
  margin-top: 3rem;
}

.df-404-code {
  font-size: 4rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f97316;
}

.df-404-text {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.df-404-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

/* responsive tweaks for changelog & page layout */
@media (max-width: 960px) {
  .df-changelog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #changelog {
    padding-top: 1.8rem;
    padding-bottom: 1.6rem;
  }

  #faq {
    padding-top: 1.4rem;
  }

  .df-pricing-grid {
    grid-template-columns: repeat(1, minmax(0, 420px));
    justify-content: center;
  }

  .df-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .df-changelog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .df-page-main {
    padding-top: 3rem;
  }

  .df-page-header-block {
    text-align: center;
  }

  .df-page-content {
    max-width: 100%;
  }

  .df-legal-shell {
    padding: 1.7rem 1.4rem;
    border-radius: 20px;
  }

  .df-legal-page::before {
    background-size: 100px 100px;
    opacity: 0.2;
  }

  .df-legal-page::after {
    right: -20%;
    bottom: -35%;
    width: 320px;
    height: 320px;
  }

  .df-legal-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .df-legal-content {
    padding-left: 0.95rem;
  }

  .df-legal-content::before {
    left: 0;
  }

  .df-legal-content h2::before {
    left: -1.15rem;
  }

  .df-signup-card {
    padding: 1.2rem 1rem 1.4rem;
    border-radius: 18px;
  }

  .df-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
  }

  .df-logo-wall {
    grid-template-columns: minmax(0, 1fr);
  }

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

/* Inputs generice */
.df-input {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Account layout */
.df-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  column-gap: 3rem;
  row-gap: 2.4rem;
  align-items: start;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  justify-content: center;
}

.df-account-grid section {
  max-width: 520px;
}

.df-account-card {
  margin-top: 1.2rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.df-account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.df-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 0.2rem;
}

.df-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.df-badge-success {
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, 0.6);
  background: rgba(22, 163, 74, 0.15);
}

.df-badge-warning {
  color: #fde68a;
  border-color: rgba(234, 179, 8, 0.6);
  background: rgba(234, 179, 8, 0.12);
}

.df-badge-neutral {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.7);
}

.df-account-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.6rem 0 0.4rem;
}

.df-muted {
  color: #94a3b8;
  font-size: 0.92rem;
  margin: 0.2rem 0;
}

.df-hint {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .df-account-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1.2rem;
    column-gap: 1.4rem;
    row-gap: 1.4rem;
  }
  .df-account-grid section {
    max-width: none;
  }
}

/* Butoane mici login/signup */
.df-btn-ghost-small,
.df-btn-primary-small {
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  min-height: 2.5rem;
  text-align: center;
  white-space: nowrap;
}

.df-btn-ghost-small {
  background: rgba(10, 15, 30, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e5e7eb;
}

.df-btn-primary-small {
  background: linear-gradient(135deg, #3b82f6, #22d3ee);
  border: 1px solid rgba(59, 130, 246, 0.65);
  color: #f8fafc;
  box-shadow: 0 12px 22px rgba(59, 130, 246, 0.28);
}

.df-btn-ghost-small:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(191, 219, 254, 0.65);
}

.df-btn-primary-small:hover {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow: 0 16px 26px rgba(37, 99, 235, 0.4);
}

/* Mobile header buttons & language spacing */
@media (max-width: 768px) {
  .df-header-inner {
    gap: 0.6rem;
  }
  .df-header-actions {
    gap: 0.4rem;
    position: relative;
  }
  .df-lang-toggle {
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    min-height: 2.25rem;
  }
  .df-btn-ghost-small,
  .df-btn-primary-small {
    display: none;
    min-width: 92px;
    padding: 0.35rem 0.78rem;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  /* Center hero content on mobile */
  .df-hero {
    text-align: center;
  }
  .df-hero-text,
  .df-hero-cta,
  .df-hero-meta {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .df-hero-meta span {
    justify-content: center;
  }
  .df-hero-cta {
    flex-direction: column;
  }
  .df-hero-cta .df-btn {
    width: 100%;
    justify-content: center;
  }

  /* Auth pages: keep cards comfortably wide and centered */
  .df-auth-main {
    max-width: 520px;
    width: 100%;
    margin: 2.5rem auto 3rem;
    padding: 0 1.25rem;
  }
  .df-auth-card {
    width: 100%;
    box-sizing: border-box;
  }

  /* Cards and grids single column */
  .df-features-grid,
  .df-pricing-grid,
  .df-download-grid,
  .df-support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .df-hero {
    padding-top: 4rem;
  }
  .df-hero-text h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .df-hero-text p {
    font-size: 1rem;
  }

  /* Support section spacing */
  .df-support {
    padding: 2.5rem 0;
  }
}

/* User menu */
.df-user-menu {
  position: relative;
}

.df-user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  cursor: pointer;
  font-size: 0.8rem;
  color: #e5e7eb;
}

#df-user-avatar-initials {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #0b1120;
}

.df-user-menu-dropdown {
  position: absolute;
  right: 0;
  top: 110%;
  background: #020617;
  border-radius: 0.9rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  padding: 0.6rem 0.7rem;
  min-width: 220px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  z-index: 30;
  display: none;
}

.df-user-menu-section {
  padding: 0.4rem 0.2rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.df-user-menu-section:last-child {
  border-bottom: none;
}

.df-user-menu-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.df-user-menu-email {
  font-size: 0.8rem;
  color: #e5e7eb;
}

.df-user-menu-account {
  width: 100%;
  text-align: left;
  margin-top: 0.25rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.5rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: #e5e7eb;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
}

.df-user-menu-link {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 0.8rem;
  padding: 0.2rem 0;
  cursor: pointer;
}

.df-user-menu-link:hover,
.df-user-menu-account:hover {
  color: #e5e7eb;
}

.df-user-menu-logout {
  color: #f97373;
}

/* Plan selector (signup / account) */
.df-plan-row {
  display: grid;
  gap: 0.6rem;
}

.df-plan-option {
  display: flex;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.8);
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.7);
  cursor: pointer;
}

.df-plan-option input {
  margin-top: 0.25rem;
}

.df-plan-title {
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.df-plan-text {
  font-size: 0.85rem;
  color: #9ca3af;
}

.df-plan-note {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.df-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.85rem;
}

.df-plan-desc {
  margin-top: 0.4rem;
  color: #9ca3af;
  font-size: 0.9rem;
}
