:root {
  --bg: #0A0A0F;
  --ink: #F5F5F7;
  --muted: #9CA3AF;
  --acc: #4EA8DE;
  --gold: #C6A15B;
  --line: #1F2937;
  --glow: rgba(78, 168, 222, 0.4);
  --gold-glow: rgba(198, 161, 91, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body {
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Animated background grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(78, 168, 222, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 168, 222, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

h1,
h2,
h3,
blockquote {
  font-family: "IBM Plex Serif", Georgia, serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #F5F5F7 0%, #4EA8DE 50%, #C6A15B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
  position: relative;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 24px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 95%;
  height: 3px;
  background: linear-gradient(90deg, var(--acc), var(--gold));
  border-radius: 2px;
}

h3 {
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--ink);
}

a {
  color: inherit;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.center {
  text-align: center;
}

/* Buttons with glassmorphism */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--acc), #3B82F6);
  color: #fff;
  box-shadow: 0 8px 32px rgba(78, 168, 222, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(78, 168, 222, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border: 1px solid rgba(78, 168, 222, 0.3);
}

.btn-secondary:hover {
  background: rgba(78, 168, 222, 0.1);
  border-color: var(--acc);
  transform: translateY(-3px);
}

/* NAV & HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-svg {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  filter: blur(0.5px);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(78, 168, 222, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav.scrolled {
  height: 64px;
  background: rgba(10, 10, 15, 0.95);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.brand img {
  filter: drop-shadow(0 0 8px var(--glow));
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--acc), var(--gold));
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

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

.lang-toggle {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(78, 168, 222, 0.2);
}

.lang-toggle button {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-toggle .active {
  background: linear-gradient(135deg, var(--acc), #3B82F6);
  color: #fff;
  box-shadow: 0 4px 12px rgba(78, 168, 222, 0.4);
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 160px 32px 80px;
  max-width: 1200px;
  z-index: 1;
}

.lead {
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 800px;
  line-height: 1.6;
}

.cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.quote-rotator {
  margin-top: 48px;
  color: var(--gold);
  font-style: italic;
  font-size: 16px;
  opacity: 0.85;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 24px;
  transition: opacity 0.3s ease;
  line-height: 1.6;
}

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

/* WHAT */
.what {
  padding: 120px 32px;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, rgba(20, 20, 30, 0.95) 100%);
  position: relative;
}

.what::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.3;
}

.what .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.what .phrase {
  color: var(--gold);
  font-style: italic;
  margin-top: 24px;
  font-size: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.hub {
  width: 85%;
  height: auto;
  filter: drop-shadow(0 0 20px var(--glow));
  margin: 0 auto;
}

.hub *:focus {
  outline: none;
}

svg *:focus {
  outline: none;
}

/* Orbital animations - fiecare planetă cu viteza ei */
.orbit {
  transform-origin: 210px 210px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Fiecare orbită cu viteză diferită - 10% mai lent */
.orbit-1 {
  animation: orbit1 49.5s linear infinite;
}

.orbit-2 {
  animation: orbit2 66s linear infinite;
}

.orbit-3 {
  animation: orbit3 38.5s linear infinite;
}

.orbit-4 {
  animation: orbit4 27.5s linear infinite;
}

.orbit-5 {
  animation: orbit5 55s linear infinite;
}

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

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

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

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

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

/* Orbital animations continue on hover - removed pause */

.legend {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(78, 168, 222, 0.2);
  backdrop-filter: blur(10px);
}

.legend strong {
  display: block;
  color: var(--acc);
  margin-bottom: 8px;
  font-size: 18px;
}

.legend span {
  color: var(--muted);
}

.node {
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.node:focus {
  outline: none;
}

.node circle:first-child {
  transition: all 0.3s ease;
}

.node:hover circle:first-child,
.node:focus circle:first-child {
  r: 12;
  filter: drop-shadow(0 0 15px #C6A15B) drop-shadow(0 0 25px #C6A15B) brightness(1.3);
}

.node:hover circle:last-child,
.node:focus circle:last-child {
  r: 18;
  opacity: 0.8;
  stroke-width: 2;
  filter: drop-shadow(0 0 10px #C6A15B);
}

.node.active circle:first-child {
  r: 14;
  fill: #4EA8DE;
  filter: drop-shadow(0 0 20px #4EA8DE) drop-shadow(0 0 40px #4EA8DE);
}

.node.active circle:last-child {
  r: 22;
  opacity: 1;
  stroke: #4EA8DE;
  stroke-width: 3;
  filter: drop-shadow(0 0 15px #4EA8DE);
}

/* Iconițe din interiorul planetelor */
.node g[transform] {
  pointer-events: none;
  transition: all 0.3s ease;
}

.node:hover g[transform] polygon,
.node:hover g[transform] circle,
.node:hover g[transform] path,
.node:hover g[transform] line {
  stroke: #0A0A0F;
  opacity: 1;
  stroke-width: 1.5;
}

/* Text GI din centru */
.hub text {
  pointer-events: none;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* LAWS carousel */
.laws {
  padding: 120px 32px;
  background: var(--bg);
  position: relative;
}

.laws h2 {
  text-align: center;
  margin-bottom: 64px;
}

.laws h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
}

.carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .carousel {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .carousel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.law {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(78, 168, 222, 0.2);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  min-height: 320px;
}

.law::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.law:hover {
  transform: translateY(-8px);
  border-color: var(--acc);
  box-shadow: 0 16px 48px rgba(78, 168, 222, 0.3);
}

.law:hover::before {
  opacity: 0.15;
}

.law-highlighted {
  transform: translateY(-12px) scale(1.02);
  border-color: #4EA8DE;
  box-shadow: 0 20px 60px rgba(78, 168, 222, 0.5);
  animation: lawPulse 0.6s ease-in-out;
}

@keyframes lawPulse {
  0%, 100% { transform: translateY(-12px) scale(1.02); }
  50% { transform: translateY(-12px) scale(1.05); }
}

.law .icon svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 8px var(--glow));
}

.law p {
  color: var(--muted);
  line-height: 1.7;
}

.law .link {
  margin-top: auto;
  font-weight: 600;
  color: var(--acc);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.law .link:hover {
  gap: 12px;
  color: var(--gold);
}

/* WHY */
.why {
  padding: 120px 32px;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(15, 15, 25, 1) 100%);
  position: relative;
}

.why .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.why h2::after {
  width: 95%;
}

.portrait {
  min-height: 384px;
  border-radius: 24px;
  background: radial-gradient(640px 240px at 50% 20%, rgba(78, 168, 222, 0.25), transparent),
    linear-gradient(135deg, #0B0D10, #1a1d2e, #0f1419);
  border: 1px solid rgba(78, 168, 222, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.portrait::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, 
    rgba(78, 168, 222, 0.9) 0%, 
    rgba(100, 200, 255, 0.7) 15%,
    rgba(198, 161, 91, 0.6) 30%,
    rgba(255, 215, 0, 0.4) 50%,
    rgba(78, 168, 222, 0.3) 70%,
    rgba(100, 200, 255, 0.2) 85%,
    transparent 100%);
  animation: breathe1 15s ease-in-out infinite;
  z-index: 1;
}

.portrait::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, 
    rgba(198, 161, 91, 0.8) 0%,
    rgba(255, 215, 0, 0.6) 20%,
    rgba(78, 168, 222, 0.5) 40%,
    rgba(100, 200, 255, 0.4) 60%,
    rgba(198, 161, 91, 0.2) 80%,
    transparent 100%);
  animation: breathe2 15s ease-in-out infinite 0.6s;
  z-index: 0;
}

@keyframes breathe1 {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  50% { 
    transform: translate(-50%, -50%) scale(4.8);
    opacity: 0.95;
  }
}

@keyframes breathe2 {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.3;
  }
  50% { 
    transform: translate(-50%, -50%) scale(3.8);
    opacity: 0.85;
  }
}

.bio p {
  color: var(--muted);
  margin: 16px 0 32px;
  line-height: 1.8;
  font-size: 18px;
}

/* APPLIED */
.applied {
  padding: 120px 32px;
  background: linear-gradient(135deg, #0A0A0F 0%, #141420 50%, #0A0A0F 100%);
  color: #fff;
  position: relative;
}

/* Removed decorative line */

.applied h2 {
  text-align: center;
}

.applied h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
}

.applied .sub {
  color: var(--muted);
  margin-bottom: 64px;
  text-align: center;
  font-size: 20px;
}

.applied .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.applied article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(78, 168, 222, 0.2);
  padding: 40px;
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.applied article::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(78, 168, 222, 0.1), transparent);
  transition: left 0.6s ease;
}

.applied article:hover::before {
  left: 100%;
}

.applied article:hover {
  transform: translateY(-8px);
  border-color: var(--acc);
  box-shadow: 0 16px 48px rgba(78, 168, 222, 0.3);
  background: rgba(78, 168, 222, 0.05);
}

.applied p {
  color: var(--muted);
  line-height: 1.7;
}

.applied .link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acc);
  margin-top: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.applied .link:hover {
  gap: 12px;
  color: var(--gold);
}

/* ASSISTANT */
.assistant {
  padding: 120px 32px;
  background: linear-gradient(135deg, rgba(78, 168, 222, 0.08) 0%, rgba(198, 161, 91, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.assistant::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.2;
}

.assistant h2 {
  text-align: center;
  margin-bottom: 24px;
}

.assistant h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
}

.assistant .sub {
  color: var(--muted);
  margin: 0 auto 40px;
  text-align: center;
  font-size: 18px;
  max-width: 800px;
  line-height: 1.7;
}

.assistant .btn {
  position: relative;
  z-index: 1;
}

/* QUOTE */
.quote {
  padding: 120px 32px;
  background: linear-gradient(180deg, rgba(15, 15, 25, 1) 0%, rgba(10, 10, 15, 0.95) 100%);
  position: relative;
}

.quote::before {
  content: '"';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 200px;
  color: var(--acc);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote blockquote {
  font-size: clamp(24px, 3vw, 36px);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.5;
  color: var(--ink);
}

/* COMMUNITY */
.community {
  padding: 120px 32px;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(20, 20, 30, 0.98) 100%);
  text-align: center;
  position: relative;
}

.community h2 {
  margin-bottom: 24px;
}

.community p {
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* NEWSLETTER + FOOTER */
.newsletter {
  padding: 100px 32px;
  background: linear-gradient(135deg, rgba(78, 168, 222, 0.1) 0%, rgba(198, 161, 91, 0.1) 100%);
  position: relative;
}

.newsletter h3 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 32px;
}

.nl {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nl input {
  min-width: 320px;
  padding: 16px 20px;
  border: 1px solid rgba(78, 168, 222, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nl input:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(78, 168, 222, 0.2);
}

.nl input::placeholder {
  color: var(--muted);
}

.site-footer {
  background: rgba(5, 5, 10, 0.98);
  color: var(--muted);
  padding: 64px 32px 32px;
  border-top: 1px solid rgba(78, 168, 222, 0.2);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--acc);
}

.site-footer .cols {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--ink);
  font-size: 18px;
  display: block;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 56px;
  }

  .what .container,
  .why .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .applied .cards {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 320px;
  }

  .main-nav {
    display: none;
  }
}

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

  .nav {
    padding: 0 20px;
  }

  .hero-inner {
    padding: 140px 20px 60px;
  }

  h2::after {
    width: 100%;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

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

  .nl input {
    width: 100%;
    max-width: 400px;
  }

  .site-footer .cols {
    flex-direction: column;
    gap: 32px;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 16px;
  }
}

/* Mobile-specific adjustments for hero section - DOAR pentru telefoane */
@media only screen and (max-width: 767px) {
  .hero {
    min-height: 80vh !important;
  }

  .hero-inner {
    padding: 100px 20px 30px !important;
  }
  
  .hero h1 {
    font-size: clamp(36px, 10vw, 64px) !important;
    margin-bottom: 14px !important;
  }
  
  .hero .lead {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }
  
  .hero .cta {
    gap: 12px !important;
    margin-bottom: 18px !important;
  }
  
  .hero .quote-rotator {
    font-size: 15px !important;
    margin-top: 18px !important;
  }
  
  /* Sistem planetar mai mare pe mobil */
  .hub {
    width: 140% !important;
    max-width: 700px !important;
  }
  
  /* Planete (buline) mai mari cu 15% */
  .hub .node {
    transform: scale(1.15) !important;
  }
  
  .what .col.viz {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Cardurile de comparație (Fără/Cu lege) unul sub altul pe mobil */
  .laws .carousel,
  .carousel {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .law {
    max-width: 100% !important;
  }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner {
    animation: fadeInUp 1s ease both;
  }

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

  .law {
    animation: fadeInScale 0.6s ease both;
  }

  .law:nth-child(1) { animation-delay: 0.1s; }
  .law:nth-child(2) { animation-delay: 0.2s; }
  .law:nth-child(3) { animation-delay: 0.3s; }
  .law:nth-child(4) { animation-delay: 0.4s; }
  .law:nth-child(5) { animation-delay: 0.5s; }

  @keyframes fadeInScale {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}

/* Scroll effects */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FIX: butoanele din HERO acoperite de citat/layere ===== */

/* 1) Creează clar stacking context pe containerul corect */
.hero,
.hero-inner {
  position: relative;
  z-index: 0;
}

/* 2) Adu butoanele deasupra tuturor layerelor decorative */
.hero-buttons {
  position: relative;
  z-index: 50;        /* suficient de mare ca să bată orice decor */
}

/* 3) Toate straturile decorative NU trebuie să intercepteze click-ul */
.hero::before,
.hero::after,
.hero-inner::before,
.hero-inner::after,
.hero-bg,
.hero-quote,
.quote {
  pointer-events: none !important;
}

/* 4) Decorul/citatul rămân dedesubt vizual */
.hero::before,
.hero::after,
.hero-inner::before,
.hero-inner::after,
.hero-bg,
.hero-quote,
.quote {
  position: relative;
  z-index: 1;         /* sub .hero-buttons (50) */
}

/* (opțional) dacă .hero-bg era peste tot printr-un z-index mare, forțăm jos */
.hero-bg { z-index: 0 !important; }

/* Dacă .hero-inner are transform/blur etc., urcă butoanele ÎN ACEEAȘI cutie */
.hero-inner { position: relative; z-index: 10; }
.hero-buttons { position: relative; z-index: 11; }  /* mai mare decât fratele „vinovat” */

/* FIX: ghilimelele decorative nu mai blochează click-urile pe butoane */
.cta {
  position: relative;
  z-index: 2;            /* ridică butoanele peste orice decor */
}

.quote-rotator,
.quote {
  position: relative;    /* ancoră corectă pentru pseudo-elemente */
  z-index: 1;
}

.quote,
.quote::before,
.quote::after {
  pointer-events: none;  /* cheie: pseudo-elementele nu mai captează click-ul */
}

.quote::before {
  z-index: 0;            /* sigur sub .cta */
}

/* === 1) Elimină ghilimelele mari decorative din citat === */
.hero-quote .quote::before,
.hero-quote .quote::after,
.quote::before,
.quote::after {
  content: none !important;
  display: none !important;
  pointer-events: none !important;
}

/* === 2) Elimină COMPLET dreptunghiul / efectul de sticlă din HERO === */
/* Pseudo-elemente, straturi decorative, panouri, blururi etc. */
.hero::before,
.hero::after,
.hero-inner::before,
.hero-inner::after,
.hero .glass,
.hero .overlay,
.hero .panel,
.hero .card,
.hero .hero-panel,
.hero .veil,
.hero .quote-panel,
.hero .quote-box,
.hero .quote-wrap {
  background: transparent !important;
  backdrop-filter: none !important;
  filter: none !important;
  box-shadow: none !important;
  border: none !important;
  opacity: 1 !important;
}

/* === 1) Elimină ghilimelele mari decorative din citat === */
.hero-quote .quote::before,
.hero-quote .quote::after,
.quote::before,
.quote::after {
  content: none !important;
  display: none !important;
  pointer-events: none !important;
}

/* === 2) Elimină COMPLET dreptunghiul / efectul de sticlă din HERO === */
/* Pseudo-elemente, straturi decorative, panouri, blururi etc. */
.hero::before,
.hero::after,
.hero-inner::before,
.hero-inner::after,
.hero .glass,
.hero .overlay,
.hero .panel,
.hero .card,
.hero .hero-panel,
.hero .veil,
.hero .quote-panel,
.hero .quote-box,
.hero .quote-wrap {
  background: transparent !important;
  backdrop-filter: none !important;
  filter: none !important;
  box-shadow: none !important;
  border: none !important;
  opacity: 1 !important;
}

/* Asigură-te că și elementele principale sunt complet transparente */
.hero,
.hero-inner,
.hero-panel,
.hero-card,
.hero-bg {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  border: none !important;
}

/* ——— Scoate doar chenarul care încadrează butoanele + citatul ——— */
.hero-inner :has(.cta):has(.quote),
.hero-inner :has(.cta):has(.quote)::before,
.hero-inner :has(.cta):has(.quote)::after {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* ——— Elimină ghilimelele mari decorative ——— */
.quote::before,
.quote::after,
.hero-quote .quote::before,
.hero-quote .quote::after {
  content: none !important;
  display: none !important;
  pointer-events: none !important;
}

/* ——— Scoate DOAR dreptunghiul de sub butoane (secțiunea .quote) ——— */
.quote {
  background: transparent !important;  /* în locul gradientului */
  padding-top: 80px;                    /* lasă aer între butoane și citat (ajustează) */
}

/* ——— Elimină ghilimelele mari decorative ——— */
.quote::before {
  content: none !important;
  display: none !important;
  pointer-events: none !important;
}

/* ========================================
   LAW PAGES - AVANT-GARDE STYLING
   ======================================== */

/* Law Page Container */
.law-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0A0A0F 0%, #1a1a2e 50%, #0A0A0F 100%);
  color: #F5F5F7;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Law Hero Section */
.law-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.law-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(78, 168, 222, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.law-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #F5F5F7 0%, #4EA8DE 50%, #C6A15B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
  background-size: 200% 200%;
}

.law-hero .subtitle {
  font-size: 1.5rem;
  color: #C6A15B;
  font-style: italic;
  margin-bottom: 2rem;
  font-family: 'IBM Plex Serif', Georgia, serif;
}

.law-hero .statement {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.law-hero .statement strong {
  color: #4EA8DE;
  font-weight: 600;
}

/* Essence List */
.essence-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.essence-list li {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  background: rgba(78, 168, 222, 0.05);
  border-left: 3px solid #4EA8DE;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.essence-list li:hover {
  background: rgba(78, 168, 222, 0.1);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(78, 168, 222, 0.2);
}

/* Contrast Quote */
.contrast-quote {
  margin: 3rem auto;
  padding: 2rem;
  max-width: 800px;
  background: linear-gradient(135deg, rgba(198, 161, 91, 0.1) 0%, rgba(78, 168, 222, 0.1) 100%);
  border-left: 4px solid #C6A15B;
  border-radius: 12px;
  font-size: 1.25rem;
  font-style: italic;
  color: #C6A15B;
  font-family: 'IBM Plex Serif', Georgia, serif;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(198, 161, 91, 0.15);
}

/* Section Styling */
.law-section {
  padding: 60px 0;
  position: relative;
}

.law-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #F5F5F7 0%, #4EA8DE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.law-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #4EA8DE 0%, #C6A15B 100%);
  border-radius: 2px;
}

.law-section h3 {
  font-size: 1.5rem;
  color: #4EA8DE;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Problem Cards */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.problem-card {
  padding: 2rem;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(78, 168, 222, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4EA8DE 0%, #C6A15B 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(78, 168, 222, 0.25);
  border-color: rgba(78, 168, 222, 0.4);
}

.problem-card h4 {
  color: #C6A15B;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.problem-card p {
  line-height: 1.8;
  color: #D1D1D6;
}

.problem-card strong {
  color: #4EA8DE;
}

/* Application Cards */
.application-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.app-card {
  padding: 1.5rem;
  background: rgba(78, 168, 222, 0.05);
  border: 1px solid rgba(78, 168, 222, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.app-card:hover {
  background: rgba(78, 168, 222, 0.1);
  border-color: rgba(78, 168, 222, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(78, 168, 222, 0.2);
}

.app-card h4 {
  color: #4EA8DE;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-card h4::before {
  content: '→';
  color: #C6A15B;
  font-size: 1.5rem;
}

/* Mental Commands */
.mental-commands {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(198, 161, 91, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(198, 161, 91, 0.2);
}

.mental-commands h4 {
  color: #C6A15B;
  margin-bottom: 1rem;
}

.mental-commands ul {
  list-style: none;
  padding: 0;
}

.mental-commands li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(198, 161, 91, 0.1);
  border-radius: 8px;
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-style: italic;
  color: #F5F5F7;
  transition: all 0.3s ease;
}

.mental-commands li:hover {
  background: rgba(198, 161, 91, 0.15);
  transform: translateX(8px);
}

/* Quick Test */
.quick-test {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(26, 26, 46, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(78, 168, 222, 0.3);
}

.test-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(78, 168, 222, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.test-item:hover {
  background: rgba(78, 168, 222, 0.1);
}

.test-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #4EA8DE;
}

.test-item label {
  flex: 1;
  cursor: pointer;
  line-height: 1.6;
}

/* Toolkit */
.toolkit {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(78, 168, 222, 0.05) 0%, rgba(198, 161, 91, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(78, 168, 222, 0.2);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.checklist li {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  margin-bottom: 0.75rem;
  background: rgba(26, 26, 46, 0.6);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.checklist li::before {
  content: '☐';
  position: absolute;
  left: 1rem;
  color: #4EA8DE;
  font-size: 1.2rem;
}

.checklist li:hover {
  background: rgba(26, 26, 46, 0.8);
  transform: translateX(4px);
}

.metric {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(198, 161, 91, 0.1);
  border-left: 4px solid #C6A15B;
  border-radius: 8px;
}

.metric strong {
  color: #C6A15B;
  font-size: 1.1rem;
}

/* Connections */
.connections {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(78, 168, 222, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(78, 168, 222, 0.2);
  text-align: center;
}

.connections a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(78, 168, 222, 0.1);
  color: #4EA8DE;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(78, 168, 222, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
}

.connections a:hover {
  background: rgba(78, 168, 222, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(78, 168, 222, 0.3);
}

/* Back to Home */
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 0.75rem 1.5rem;
  background: rgba(198, 161, 91, 0.1);
  color: #C6A15B;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(198, 161, 91, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
}

.back-home:hover {
  background: rgba(198, 161, 91, 0.2);
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(198, 161, 91, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .law-hero {
    padding: 80px 0 60px;
  }
  
  .law-hero h1 {
    font-size: 2rem;
  }
  
  .problem-cards,
  .application-cards {
    grid-template-columns: 1fr;
  }
  
  .law-section {
    padding: 40px 0;
  }
}

/* Animation */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
